![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine the SID for a User Account
|
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objAccount = objWMIService.Get _ ("Win32_UserAccount.Name='kenmyer',Domain='fabrikam'") Wscript.Echo objAccount.SID | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |