PsGetSid
https://docs.microsoft.com/zh-tw/sysinternals/downloads/psgetsid
Security Identifier(SID): GetSID of a user,object using Registry, WMIC, PowerShell
https://blogs.msdn.microsoft.com/gaurav/2014/06/03/security-identifiersid-getsid-of-a-userobject-using-registry-wmic-powershell/
wmic useraccount where (name='administrator' and domain='gauravtestMachine') get name,sid
Name SID
administrator S-1-5-21-1976753858-2077894621-3616986626-500
沒有留言:
張貼留言