Tags:
VBScript to add a domain user to Local Administrators group
I need a VBScript which will read host names from a text file and add the specified domain user to local administrator group.
Eg:
Contoso\paul should be added to local administrators group on all the specified host names and write the result to a text file.
Host Name: Successfully added
Host name: Unable to Ping "Host Name"
Thanks,
Madhu
Start your free trial to view this solution
Zone:
Programming
Question Asked By:
madhusk
Question Asked On:
07.04.2008
Participating Experts:
3
Points:
500
Views:
0
Translate:
20080723-EE-VQP-34 / EE_QW_EXPERT_20070906