PowerShell to get user SID

$u = [adsi]"WinNT://domainname/username,user"
$u | gm
$u.objectSid

Komentarze