Quantcast
Channel: The Accidental IT Guy » 2010
Viewing all articles
Browse latest Browse all 4

List all Lync Front End servers that are hosting a Response Group in power shell

$
0
0

Gee, this one should have been simple to do, but it wasn’t. Basically because of some commands returning strings and some returning objects.

$pools = Get-CsApplicationEndpoint -Filter {OwnerUrn -like "*RGS*"} | select-Object RegistrarPool -unique | foreach { $_.RegistrarPool } | Select-Object FriendlyName | foreach { $_.FriendlyName }; Get-CsPool | Where-Object { $pools -contains $_.Identity } | Where-Object { $_.Services -like "*Reg*" } | Select-Object Computers | foreach {$_.Computers}

If you paste that command into your Lync power shell you should get a list of all servers that host a response group in your Lync Environment.



Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images