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

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 »

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.