First off, all credit for this post goes to my colleague Chris Cook.  He provided all of the powershell scripting behind the tool.

UPDATED: Added download of file HERE

I have found it very difficult to easily document a voice configuration within Lync.  That is when I approached my scripting buddy Chris.  He developed this script to extract the export from the Lync Control Panel Voice Configuration:

LyncVoice - Export config - markup

When exporting the configuration, it saves as a *.vcfg file.  Using Chris’ handy powershell cmdlet, we can extract the contents of the *.vcfg file into an Excel spreadsheet with different tabs for each area: Dial Plan, Voice Policy, Route, PSTN Usage, and Trunk Configuration.

Copy the following powershell script as a .ps1 file and save in the same location as the exported *.vcfg file.

Download LyncVCFGConverter.ps1 here

Now open up a powershell command window and navigate to the directory with the .ps1 file and .vcfg file and run the following command:

.\LyncVCFGConverter.ps1 CustomerA_Lync.vcfg

LyncVoice - PS command

The script will extract the data and create an Excel spreadsheet.  The progress is shown as the script is running:

LyncVoice - PS command execute-markup

Once the script is complete, the Excel spreadsheet will be saved and launched.  You will notice that the spreadsheet is divided into different tabs:

LyncVoice - Excel - markup

Here are some examples from some of the other tabs…

Voice Policies:

LyncVoice - Excel -policies - markup

Trunk Configuration:

LyncVoice - TrunkConfig - markup

Hopefully this will help you out on documenting your Lync Voice configurations!  Again, thanks to Chris Cook for the heavy lifting on the powershell scripts.