Topic Last Modified: 2010-10-01

Enables you to configure new locations for the Monitoring Server database and reporting pack.


Set-CsMonitoringServer [-Identity <XdsGlobalRelativeIdentity>] [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-MonitoringDatabase <String>] [-ReportingUrl <String>] [-WhatIf [<SwitchParameter>]]


Parameter Required Type Description



Xds Identity

Service location of the Monitoring Server to be modified. For example: -Identity "". You can retrieve the Identity for all of your Monitoring Servers by using this command:

Get-CsService –MonitoringServer | Select-Object Identity.

Note that you can leave off the prefix "MonitoringServer:" when specifying a Monitoring Server. For example: -Identity "".




Service location for the new Monitoring Server database. For example: -MonitoringDatabase "". Make sure you use the service location of the database store and not the SQL Server path name.




URL for the Monitoring Server reports. Note that these reports will not be available unless you install SQL Server Reporting Services and the Monitoring Server Report Pack.



Switch Parameter

Suppresses the display of any non-fatal error message that might occur when running the command.



Switch Parameter

Describes what would happen if you executed the command without actually executing the command.



Switch Parameter

Prompts you for confirmation before executing the command.

Detailed Description

Monitoring Server provides you with two important capabilities. For one, it enables you to maintain information about how, and how often, Enterprise Voice is used in your organization. This information is tracked by using call detail recording (CDR), which records such things as who made a call, who that person called, and how long the call lasted. (The actual conversation itself is not recorded.) In addition to that, you can also use Monitoring Server to keep track of Quality of Experience (QoE) data for your Enterprise Voice calls. As the name implies, Quality of Experience data provides information about the quality of a call, measuring such items as packet loss, call degradation, network bitrate, and jitter.

When you install Monitoring Server you must specify the location of the SQL Server database used to store CDR and QoE data. Optionally, you can also install SQL Server Reporting Services and the Monitoring Server Report Pack; these two items enable you to access a website that generates standard monitoring reports for you.

As a general rule, after Monitoring Server has been installed and configured you will not need to change the location of either the back-end database or the reporting URL. However, if you do need to change the location of one (or both) of these items, you can do so by running the Set-CsMonitoringServer cmdlet.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Set-CsMonitoringServer cmdlet locally: RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Set-CsMonitoringServer"}

Input Types

None. Set-CsMonitoringServer does not accept pipelined input.

Return Types

Set-CsMonitoringServer does not return any objects or values. Instead, the cmdlet modifies existing instances of the Microsoft.Rtc.Management.Xds.DisplayMonitoringServer object.


-------------------------- Example 1 ------------------------

Copy Code
Set-CsMonitoringServer -Identity "" -ReportingUrl ""

The command shown in Example 1 configures a new URL for the Monitoring Server reporting pack.

See Also

Other Resources