Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.81 KB

README.md

File metadata and controls

42 lines (35 loc) · 1.81 KB

GitHub
GitHub release (latest SemVer) Last release GitHub last commit
PSGallery downloads

ConvertSID

This module will convert SID to plain text so you can read it. I have added the result from PSScriptAnalyzer in test folder

Links

Help

Below I have specified things that I think will help people with this module.
You can also see the API for each function in the help folder

Install

Install for current user

Install-Module -Name ConvertSID -Scope CurrentUser -Force

Install for all users

Install-Module -Name ConvertSID -Scope AllUsers -Force

Example

Convert-SID -SID "<SID>"

If this SID was for an Active Directory user this would return the domain\username of that user, example stolpe.io\rstolpe
You can also add multiple SIDs at the same time just separate them with a comma, example Convert-SID -SID "<SID1>", "<SID2>"

Convert-SID -SID "<SID>" -Trim

Sometimes you don't want the domain\ part in return then you can use -Trim switch and it will just return the name after the domain, example rstolpe