# Convert identities and SIDs

Convert identities and SIDs on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSSharedGoods

PSSharedGoods is little PowerShell Module that primary purpose is to be useful for multiple tasks, unrelated to each other. I've created this module as “a glue” between my other modules.

[View on GitHub](https://github.com/EvotecIT/PSSharedGoods) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSSharedGoods/releases/tag/v0.0.312) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSSharedGoods)

Stars**231**

Forks**40**

Open issues**0**

PowerShell Gallery downloads**670687**

Release**v0.0.313**

Language: PowerShell Updated: 2026-10-30

Curated Examples

Use PSSharedGoods identity helpers to normalize account names and SIDs.

This pattern is useful when reporting code receives mixed domain names, local identities, and raw SID values.

It comes from the source example at `Examples/ConvertIdentity1.ps1`.

## When to use this pattern

- You need a consistent identity shape for reporting.
- You receive a mix of account names and SIDs.
- You want helper output before permission remediation.

## Example

```powershell
Import-Module .\PSSharedGoods.psd1 -Force

@(
    Convert-Identity -Identity 'Everyone'
    Convert-Identity -Identity 'NT AUTHORITY\SYSTEM'
    ConvertTo-SID -Identity 'Domain Admins'
) | Format-Table
```

## What this demonstrates

- normalizing identity values
- using helper commands before reporting
- handling multiple identity input forms

## Source

- [ConvertIdentity1.ps1](https://github.com/EvotecIT/PSSharedGoods/blob/master/Examples/ConvertIdentity1.ps1)

<!-- PowerForge markdown artifact sha256:D2BA74E6006F62D4B116CA369FDB07432ED0A3CD2CBB889B31A48F762A6A12D7 -->
