VBS computer name sub string

Hello all

I found a script to find out the computer's hostname now what I need to do is input that into an installer where it uses only the asset tag and 3 letter site code. For example

1. Script captures the NETBIOS = HDKL3PAV456789

2. Script then uses only the asset tag or the last 6 characters and the new site code (HDK) = HDK456789

August 25th, 2015 1:23pm

Did you have a look at the Left, Mid and Right string handling funtions?


Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 1:43pm

PowerShell can easily extract substrings of a string; e.g.:

August 25th, 2015 1:44pm

Did you have a look at the Left, Mid and Right string handling funtions?


Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 5:41pm

Did you have a look at the Left, Mid and Right string handling funtions?


August 25th, 2015 5:41pm

Did you have a look at the Left, Mid and Right string handling funtions?


Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 5:41pm

Did you have a look at the Left, Mid and Right string handling funtions?


August 25th, 2015 5:41pm

Thank you everyone!!
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 3:59pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics