Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Add a Domain User to a Local Administrators GroupContent of Add a Domain User to a Local Administrators Group.vbsMD5 Hash: 6E1D21AC00BD32F4BD3C088124787FDB |
||
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 :: |