Skip to content

Instantly share code, notes, and snippets.

@arjancornelissen
Last active August 27, 2018 16:56
Calculate ImmutableId
$user = Get-ADUser -Identity <username>
$ImmutableId = [System.convert]::ToBase64String($user.ObjectGUID.ToByteArray())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment