Skip to content

Instantly share code, notes, and snippets.

@darrenjrobinson
Created February 2, 2016 05:56
Show Gist options
  • Save darrenjrobinson/449eea1878797d0b13a4 to your computer and use it in GitHub Desktop.
Save darrenjrobinson/449eea1878797d0b13a4 to your computer and use it in GitHub Desktop.
MIMUsrPlacementPSMA-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 "cn|String" -Value "first last"
$obj | Add-Member -Type NoteProperty -Name "distinguishedName|string" -Value "cn=first last,OU=employees,DC=customer,DC=com,DC=au"
$obj | Add-Member -Type NoteProperty -Name "state|String" -Value "NSW"
$obj | Add-Member -Type NoteProperty -Name "title|String" -Value "manager"
$obj | Add-Member -Type NoteProperty -Name "upn|String" -Value "user@customer.com"
$obj | Add-Member -Type NoteProperty -Name "targetOU|String" -Value "ou=ninjas,dc=customer,dc=com,dc=au"
$obj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment