PowerTip: Export Lync Topology with PowerShell

PowerTip: Export Lync Topology with PowerShell

  • Comments 1
  • Likes

Summary: Use the Lync cmdlets to obtain a copy of the Lync topology.

Hey, Scripting Guy! Question Instead of going through the GUI wizard, can I use Windows PowerShell to schedule a fresh copy
          of my Lync topology as a regular nightly task so I can compare deltas?

Hey, Scripting Guy! Answer Run the following Windows PowerShell cmdlet to create a file called Topology.zip with all of your topology:

Export-CsConfiguration -FileName C:\Backup\Config.zip

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • While this is more useful for archiving the whole Lync config (policies, dial plans, etc.), it is not viewable in Toplogy Builder. Get-CsTopology -AsXml *should* provide a read-only copy viewable in TB, but the Simple URLs are missing, which TB shows as a fatal error.

    I've written a wrapper to pull the results of Get-CsSimpleUrlConfiguration into that file: http://mandie.net/2015/02/27/get-cstopologyfixed-loves-your-simple-urls/