Get-Sid
2.0
Use this function to retrieve the SID of the current user or the local computer. The user SID is read directly from the current process token. The machine SID is the SID of the computer's domain account (not the local machine SID) and requires the computer to be domain-joined.
Installation Options
Owners
Copyright
Copyright (C) 2024-2025 Richard M. Hicks Consulting, Inc. All Rights Reserved.
Package Details
Author(s)
- Richard Hicks
Tags
SID identity security principal user computer machine AD domain
Dependencies
This script has no dependencies.
FileList
- Get-Sid.nuspec
- Get-Sid.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.0 (current version) | 7 | 7/31/2026 |
| 1.1 | 5,020 | 4/27/2025 |
| 1.0 | 261 | 11/12/2024 |