You can find Active Directory SID, which is the Security Identifier in Windows operating systems by using the following command line parameters. The first parameter requires a computer name and then the second one needs to be run on that computer.