June 11, 2013

TIP #1304: Lync PowerShell - Get-CsUser “RegistrarPool” Front-End Pool (Part 2B)

Filed under: Skype for Business,Lync Server 2013/2010, PowerShell, Info/Tips — Desmond Lee @ 9:53 pm

The workaround to TIP #1303: Lync PowerShell - Get-CsUser “RegistrarPool” Front-End Pool (Part 2A) is pretty straightforward. Even though each item in the array is a string object, an explicit cast to [string] is essential to solve the issue with the strange error messages:

$rpool = “pool01?, “pool02?, “pool03?

$rpool | % {
$v = [string]$_
Get-CsUser -Filter { RegistrarPool -eq $v }

Technorati tags: PowerShell, Microsoft Lync Server/Client /Lync Phone Edition / Lync Mobile

No Comments »

No comments yet.

RSS feed for comments on this post. | TrackBack URI

Leave a comment

You must be logged in to post a comment.

Theme Designed by: Malone Car Hire Ireland