![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Add a Domain User to a Local Administrators Group
|
||
strComputer = "atl-ws-01"
Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators") Set objUser = GetObject("WinNT://" & strComputer & "/kenmyer") objGroup.Add(objUser.ADsPath) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |