A Little on Security Identifiers ( SID ) using PowerShell
Written by Niklas Goude on January 19, 2009 – 10:25 pm
A SID is used to identify a security principal or security group in Windows. SIDs are especially useful when troubleshooting security audits or migrations
Starting of, lets look at the WMI Class Win32_UserAccount. This class can be used to retrieve a Users SID.
PS > $Guest = gwmi Win32_UserAccount | Where { $_.Name -like “Guest” }
PS > [...]

