
Where the user is a domain/AD(LDAP) user, running this on any computer on the domain should give the same results.If you omit the computer name PsGetSid runs the command on the local system, and if you specify a wildcard (\\*), PsGetSid runs the command on all computers in the current PsGetSid will execute the command on each of the computers listed in the file.Įxample: psgetsid S-1-5-21-583907252-682003330-839522115-63941 SID PsGetSid will report the account for the specified SID.Ĭomputer Direct PsGetSid to perform the command on the remote computer or computers specified. If you omit this you will be prompted to enter a hidden password.Īccount PsGetSid will report the SID for the specified user account rather than the computer. p Specifies optional password for user name.

u Specifies optional user name for login to remote computer. You can use the command PSGetSid from Microsoft's SysInternals team.
