Do not use on any
shared computer
August 30, 2008 05:27am pdt
 
[x]
Attachment Details

VBScript to add a domain user to Local Administrators group

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
Question Stats
Zone: Programming
Question Asked By: madhusk
Question Asked On: 07.04.2008
Participating Experts: 3
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by farhankazi

Rank: Guru

Expert Comment by farhankazi:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by RobSampson

Rank: Wizard

Expert Comment by RobSampson:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by DarkHill
Expert Comment by DarkHill:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_EXPERT_20070906