Summary: Use Windows PowerShell to get a list of all domains that are blocked from federating with Lync.
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?
Run the Get-CSBlockedDomain cmdlet:
GET-CSBlockedDomain
If you'd like to export that information, pipe it to Export-CSV:
GET-CSBlockedDomain | EXPORT-CSV BlockedList.csv