Get the AD Name that Goes with a User SID for a Domain Login

Mindwatering Incorporated

Author: Tripp W Black

Created: 05/15/2023 at 09:19 AM

 

Category:
Microsoft Server Software
Other/Misc.

Issue:
Need to find Name for SID Trash Folder on PC. The folder has SID instead of c:\Users\Login


Solution:
PS C:\> Get-ADUser -Filter 'SID -like "S-1-2-12-123456789-123456891234-1234567891-1234567"' -server ad.mindwatering.net -SearchBase "DC=users,DC=mindwatering,DC=com"



previous page