发表于 2018-9-3 07:49:22

Powershell - SID to USER and USER to SID

SID to Domain User
  This will allow you to enter a SID and find the Domain User
  $objSID = New-Object System.Security.Principal.SecurityIdentifier `
  ("ENTER-SID-HERE")
  $objUser = $objSID.Translate( )
  $objUser.Value

页: [1]
查看完整版本: Powershell - SID to USER and USER to SID