Add domain User to Local Administrators group on M

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
pginnega
Posts: 2
Joined: Thu Aug 16, 2012 3:20 pm

Add domain User to Local Administrators group on M

Post by pginnega » Thu Aug 16, 2012 3:20 pm

I would like to add a AD Domain User account to the local Administrators group on multiple remote computers in my AD using a vbscript.

Please help

User avatar
pginnega
Posts: 2
Joined: Thu Aug 16, 2012 3:20 pm

Add domain User to Local Administrators group on M

Post by pginnega » Thu Aug 16, 2012 3:20 pm

I would like to add a AD Domain User account to the local Administrators group on multiple remote computers in my AD using a vbscript.

Please help

User avatar
jvierra
Posts: 13128
Joined: Tue May 22, 2007 9:57 am
Contact:

Add domain User to Local Administrators group on M

Post by jvierra » Thu Aug 16, 2012 9:52 pm

YOu can do that. VBScript has been used to add local administrators for years.

If you post your script with a more specific question we would be glad to help.

You can also look in the script sharing section. I suspect there are numerous examples of managing local machine accounts.


Locked