Tag Archives: sid

Collect user and group SIDs and names from Active Directory

Ever found yourself looking through the Access Control List of a file/folder/share and mixed in along with the group names (hopefully not user names!) you see some SIDs? These look something like S-1-5-21-0123456789-0123456789-0123456789-0123. These are the Security IDs of deleted … Continue reading

Rate this:

Posted in PowerShell, Security, Windows | Tagged , , , , , , | Leave a comment

PowerShell: Active Directory User to SID and SID to User

I was recently asked to find the username associated with a particular Active Directory SID (technically I was given the RID). This is actually pretty easy in PowerShell, and quite intuitive using basic AD cmdlets. Get the user for a … Continue reading

Rate this:

Posted in PowerShell, Windows | Tagged , , , , , , , | 1 Comment