SidConversion module contains the cmdlets for conversion SID (security identifier) of a Windows user or group account to the name of this account and backward
- required PowerShell version 3.0 or later
ConvertFrom-Sid
cmdlet converts the SID of the user or group account to the name of this accountConvertTo-Sid
converts a Windows user or group account name to the SID of this account- if you want to try this cmdlets or need to convert a SID once and do not want to install module, you could use the scripts
ConvertFrom-Sid.ps1
andConvertTo-Sid.ps1
, which are full-fledged separate copies of the same-named cmdlets
git clone https://github.com/almaceleste/sidconversion.git
Register-PSRepository -Name SidConversionRepo -SourceLocation ./sidconversion
Install-Module SidConversion -Scope CurrentUser -Repository SidConversionRepo
Install-Module -Name SidConversion
ConvertFrom-Sid
converts the SID of the user or group account to the name of this account. you could convert both local and domain accounts SIDs.
ConvertTo-Sid
converts a Windows user or group account name to the SID of this account. you could convert both local and domain accounts (for local accounts use local machine name (or .) as parameter -domain)