Friday 8 December 2017

Powershell: Get the SID of an AD Account


Find out the SID of an Active Directory account.

Get-ADUser -Identity 'accountname' | select SID


You can also do it the other way around.


Get-ADUser 'SID number'

No comments:

Post a Comment