Skip to content

Instantly share code, notes, and snippets.

@darrenjrobinson darrenjrobinson/Schema.ps1
Last active Nov 17, 2018

Embed
What would you like to do?
Microsoft Identity Manager Skype for Business / Lync PowerShell Management Agent Schema Script. Supporting blog post is located here https://blog.darrenjrobinson.com/provisioning-users-for-lync-skype-for-business-with-fim-mim-using-the-granfeldt-powershell-management-agent/
$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 "sipAddress|String" -Value "sip:loginname@domain.com"
$obj | Add-Member -Type NoteProperty -Name "upn|String" -Value "user@domain.com"
$obj | Add-Member -Type NoteProperty -Name "lyncEnabled|Boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "RegistrarPool|String" -Value "Lync2013Pool.customer.com.au"
$obj | Add-Member -Type NoteProperty -Name "msDScloudextensionAttribute20|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.