Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_SID QueryContent of WMI Win32_SID Query.vbsMD5 Hash: D2483DD02F74CAFA1C4B399889208D7A |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_SID",,48) For Each objItem in colItems Wscript.Echo "AccountName: " & objItem.AccountName Wscript.Echo "BinaryRepresentation: " & objItem.BinaryRepresentation Wscript.Echo "ReferencedDomainName: " & objItem.ReferencedDomainName Wscript.Echo "SID: " & objItem.SID Wscript.Echo "SidLength: " & objItem.SidLength Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |