User - Get user name from SID value
Get user name from SID value
$sid = ‘SID-VALUE’
Get-ADObject –IncludeDeletedObjects -Filter "objectSid -eq '$sid'" | Select-Object name, objectClass
Refer: Thanks to http://woshub.com/hot-to-convert-sid-to-username-and-vice-versa/
Comments
Post a Comment