Last active
August 27, 2018 16:56
-
-
Save arjancornelissen/29be836b61c3cc338293dfe952d5a1c6 to your computer and use it in GitHub Desktop.
Calculate ImmutableId
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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