PowerTip: Add a Federation Domain to Lync with PowerShell

Doctor Scripto

Dr Scripto

Summary: Use the Lync cmdlets to add an additional domain to Lync for federation access.

Hey, Scripting Guy! Question I'm working with a client to set up a federation, and I am trying to easily add their list of domains.
          How can I do this with Windows PowerShell?

Hey, Scripting Guy! Answer In Lync, use the New-CSAllowedDomain cmdlet:

NEW-CSAllowedDomain –identity 'fabrikam.com'

NEW-CSAllowedDomain –identity 'contoso.ca'

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   


    Leave a comment