Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine the Name of the Local Administrators GroupContent of Determine the Name of the Local Administrators Group.vbsMD5 Hash: EA712324D4A5FAA1760BCC69D429022E |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colAccounts = objWMIService.ExecQuery _ ("Select * From Win32_Group Where LocalAccount = TRUE And SID = 'S-1-5-32-544'") For Each objAccount in colAccounts Wscript.Echo objAccount.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |