Wednesday 9 May 2018

How to find SID for an Object in Active Directory

1:
How to find SID for an Object in Active Directory.

 Get-ADUser -Identity userid -Properties *

2:
How to find SID for an Object in Active Directory using PStools

C:\PSTool\PSTools>psgetsid user
SID for domain\user: S-1-5-21-1859561886-563848fdf002-90733365-71856

To find name against a SID

C:\PSTool\PSTools>psgetsid S-1-5-21-18fdsfdfs1886-563848002-907024965-7fdfs56
Account for S-1-5-21-1859561886-563848002-907333965-71856:
User: domain\user

No comments:

Post a Comment