PowerTip: Get List of Blocked Domains on Lync with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to get a list of all domains that are blocked from federating with Lync.

Hey, Scripting Guy! Question I am auditing a client's Lync server and need to pull up a list of all the Domains that are presently blocked or not blocked with Lync. How can I easily do that with PowerShell?

Hey, Scripting Guy! Answer Run the Get-CSBlockedDomain cmdlet:


If you'd like to export that information, pipe it to Export-CSV:

GET-CSBlockedDomain | EXPORT-CSV BlockedList.csv


Discussion is closed.

Feedback usabilla icon