4 September 2013

Move All OCS Users Homed on a Specific Pool to Lync

The below example is really just a one liner, but useful enough to be awarded its own post.

It Move All OCS Users Homed on a Specific Pool to Lync as well as sets conferencing policy and external access policy to automatic, rather than the legacy migrated OCS policies. 

NOTE Replace items in bold with your details as required

get-csuser -OnOfficeCommunicationServer | Where {$_.HomeServer -eq "CN=Users,CN=Auckland,CN=OCSPoolName,CN=Pools,CN=RTC Service,CN=Services,CN=Configuration,DC=LyncLab,DC=co,DC=nz"} | Move-CsLegacyUser -Target LyncPoolFQDN -ExcludeConferencingPolicy -ExcludeExternalAccessPolicy -Confirm:$FALSE

No comments:

Post a Comment