Is there any script/powershell command to assing all new policy in Lync while moving user from OCS R2 to Lync pool? Move-CsUser command only move user from OCS R2 pool to Lync pool and assign default policy.
My understanding is that you should first move the CsUser, then apply the policy you wish that user to have.
means move user from OCS R2 to Lync pool first then apply policy using different script? we have a custom tool and we would like include everything in that tool using powershell.
You can indeed do that.
You need to run one or more of the Grant-* cmdlets, which include:
Now - this assumes you are doing per user policies. You can also apply these policies to a group or even to just a pool. If you are assignhing these policies by group, then just adding the user to the group delivers these policies - you use the AD cmdlets to achieve adding the user to a group. If you are assigning policies by pool, then the Move-CSUser is all you need to do since moving them into a pool get them the pool based policies.