Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MIMExchPSMA-Schema
$obj = New-Object -Type PSCustomObject
$obj | Add-Member -Type NoteProperty -Name "Anchor-objectGuid|String" -Value "00000000-0000-0000-0000-000000000001"
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "user"
$obj | Add-Member -Type NoteProperty -Name "accountName|String" -Value "x_mim_adma"
$obj | Add-Member -Type NoteProperty -Name "msExchMailboxGuid|Binary" -Value 0x10
$obj | Add-Member -Type NoteProperty -Name "upn|String" -Value "user@domain.com"
$obj | Add-Member -Type NoteProperty -Name "mail|String" -Value "user@domain.com"
$obj | Add-Member -Type NoteProperty -Name "mailNickname|String" -Value ""
$obj | Add-Member -Type NoteProperty -Name "msExchHomeServerName|String" -Value ""
$obj | Add-Member -Type NoteProperty -Name "homeMDB|String" -Value ""
$obj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.