Instantly share code, notes, and snippets.

Embed
What would you like to do?
FIM/MIM Azure AD B2B Inviter PowerShell Management Agent
$obj = New-Object -Type PSCustomObject
$obj | Add-Member -Type NoteProperty -Name "Anchor-ID|String" -Value "08572d0b-e5e6-4b9b-bdf1-576dd90aa1d9"
$obj | Add-Member -Type NoteProperty -Name "objectID|String" -Value "08572d0b-e5e6-4b9b-bdf1-576dd90aa1d9"
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "AADUser"
$obj | Add-Member -Type NoteProperty -Name "AADUserType|String" -Value "Member|Guest"
$obj | Add-Member -Type NoteProperty -Name "AADAccountEnabled|Boolean" -Value $True
$obj | Add-Member -Type NoteProperty -Name "AADGuestUser|Boolean" -Value $True
$obj | Add-Member -Type NoteProperty -Name "AADDisplayName|String" -Value "Mary Jay Bligh"
$obj | Add-Member -Type NoteProperty -Name "AADGivenName|String" -Value "Mary"
$obj | Add-Member -Type NoteProperty -Name "AADImmutableId|String" -Value "dbJRmSjG3USE++q48Wk34g=="
$obj | Add-Member -Type NoteProperty -Name "AADMail|String" -Value "maryjb@corp.com.au"
$obj | Add-Member -Type NoteProperty -Name "AADSurname|String" -Value "Bigh"
$obj | Add-Member -Type NoteProperty -Name "AADUserPrincipalName|String" -Value "maryjb@corp.com.au"
$obj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment