Learn about Windows PowerShell
Summary: Use the Lync cmdlets to obtain a copy of the Lync topology.
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?
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
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: