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.