PowerTip: Get List of Blocked Domains on Lync with PowerShell

PowerTip: Get List of Blocked Domains on Lync with PowerShell

  • Comments 1
  • Likes

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:

GET-CSBlockedDomain

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

GET-CSBlockedDomain | EXPORT-CSV BlockedList.csv

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment