While I do have all of my Global policies configured, I prefer to keep specific policies assigned for the major policies. Like I mentioned above this can be slow and tricky in the Console. Finding users who already have a policy assigned is pretty easy using a command like:
Get-CsUser -filter {ConferencingPolicy -eq "Lync-Conferencing-Gold"}
This will pull up all the users with the specified policy name, and can easily be piped to another command such as Grant-CsMobilityPolicy.
Finding the users that are inheriting the default Global policy is a little trickier. Running the command
Get-CsUser -filter {ConferencingPolicy -eq "Default"}will give you the following error.
"Get-CsUser : Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "Policy "Default" is not a user policy. You can assign only a user policy to a specific user."
In order to find all the users with the default policy assigned you will need to use a command like:
Get-CsUser -filter {ConferencingPolicy -eq $Null}
~brad
Fun Fact:
In a short period of ten years Van Gogh made approximately 900 paintings.
Finding users who inherit a global default policy is a bit more difficult. You must follow the instructions.
ReplyDelete