Hi LifeisGood,
Please run the following command to disable all Lync users who are hosting on specific pool:
Get-CsUser | ?{$_.registrarPool -match “<the FQDN of pool>” -and $_.Enabled -eq $true} | Disable-User
Best Regards,
Jim Xu
TechNet Community Support
Please remember to
mark the replies as answers if they helped.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.