I need a vbscript that when runs will:
1) Query (Using WMI) the serial number of the computer it is running on. 2) Lookup (Using WMI) the serial number in a text file ([url removed, login to view]) on a network share. The [url removed, login to view] text file will contain a serial number and a computername on each line. 3) Rename the current computer to the new computername where there was a matching serial number. 4) Join domain with new computername.
Other: The initial setup of the computer will be in a workgroup.
1) Complete and fully-functional working vbs script.
Windows 2000 and Windows XP