Convert a domain user SID
1 2 3 4 | PS C:\Users\Torrance> Get-ADUser -Identity 'Torrance' | select SID SID --- S-1-5-21-1176531809-3916659391-2721709076-1144 |
Reverse Lookup the SID
1 2 3 4 5 6 7 8 9 10 11 12 | PS C:\Users\Torrance> Get-ADUser -Identity S-1-5-21-1176531809-3916659391-2721709076-1144 DistinguishedName : CN=Torrance A Jones,OU=Users,OU=EDC,DC=ad,DC=aimsparking,DC=com Enabled : True GivenName : Torrance Name : Torrance Jones ObjectClass : user ObjectGUID : 5c338911-a8d1-4763-a488-b698fc4bb629 SamAccountName : Tor SID : S-1-5-21-1176531809-3916659391-2721709076-1144 Surname : Jones UserPrincipalName : [email protected] |