Update: Zachary Loeber did an excellent job writing a similar script which gather more information about the QoS, including Registry and EDGE settings which give you a more detailed picture of the current QoS settings in Lync. Download his script here
Recently I had to configure a customer Lync 2013 environment for QoS after upgrade it from Lync 2010.
Before running all of the configuration scripts by following Microsoft guidance, I wanted to know how is the current environment is configured for QoS and if any changes were made.
To do so, I found myself running a lot of manual commands and putting the results into excel:
- Get-CsService -ConferencingServer | fl Identity,*port*
- Get-CsService -ApplicationServer | fl Identity,*port*
- Get-CsService -MediationServer | fl Identity,*Port*
- Get-CsMediaConfiguration | fl
- Get-CsUCPhoneConfiguration | fl
- Get-CsConferencingConfiguration | fl
Those commands help me to find out what are the current configurations and if they were different from the default ones Lync 2013 is set with.
Running all command, arranging the data and comparing between the different policies took me a lot of time, that was the trigger for writing the following script with the help of @y0avb.
This script will generate an HTML report which contains all Lync QoS related configurations.
This script will also notify about the following:
- If QoS is enabled or not for Lync (Based on Get-CsMediaConfiguration)
- If any of the settings is different from the default values Lync 2013 is set with (based on the following table)
- Please note that even if Lync is enable for QoS on the server side, it still requires GPO’s for both Lync Servers and Clients.
- The report does not contain Lync EDGES QoS configurations