Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $objUser = New-Object System.Security.Principal.NTAccount("domain", "mozaid")
- $strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])
- $strSID.Value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement