編集

次の方法で共有


Remove-CsReportingConfiguration

Removes an existing collection of reporting configuration settings. Reporting configuration settings are used to specify the URL for installations of Skype for Business Server Monitoring Reports. This cmdlet was introduced in Lync Server 2013.

Syntax

Remove-CsReportingConfiguration
      [-Identity] <XdsIdentity>
      [-Confirm]
      [-Force]
      [-WhatIf]
      [<CommonParameters>]

Description

Reporting configuration settings are used to specify the home page for the Skype for Business Server Monitoring Reports; if you are not using Monitoring Reports then there is no reason for you to modify the reporting configuration settings.

Skype for Business Server Control Panel: The functions carried out by the Remove-CsReportingConfiguration cmdlet are not available in the Skype for Business Server.

Examples

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

Remove-CsReportingConfiguration -Identity "service:MonitoringDatabase:atl-sql-002.litwareinc.com"

In Example 1, the reporting configuration settings with the Identity service:MonitoringDatabase:atl-sql-002.litwareinc.com are removed.

-------------------------- Example 2 --------------------------

Get-CsReportingConfiguration | Remove-CsReportingConfiguration

In Example 2, all the reporting configuration settings currently in use in the organization are removed. To do this, the command first uses the Get-CsReportingConfiguration cmdlet to return a collection of all the reporting configuration settings. This collection is then piped to the Remove-CsReportingConfiguration cmdlet, which removes each item in the collection.

-------------------------- Example 3 --------------------------

Get-CsReportingConfiguration | Where-Object {$_.ReportingUrl -eq "https://atl-sql-002.litwareinc.com/lync_reports" | Remove-CsReportingConfiguration

The command shown in Example 3 deletes any reporting configuration settings where the reporting URL is set to https://atl-sql-002.litwareinc.com/lync_reports.

To carry out this task, the command first uses the Get-CsReportingConfiguration cmdlet to return all the reporting configuration settings currently in use.

This collection is then piped to the Where-Object cmdlet, which selects only those settings where the ReportingURL property is equal to https://atl-sql-002.litwareinc.com/lync_reports.

That filtered collection is then piped to the Remove-CsReportingConfiguration cmdlet, which removes each item in the collection.

Parameters

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-Force

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-Identity

Service Identity of the monitoring database whose reporting configuration settings are to be removed. For example:

-Identity "Service:MonitoringDatabase:atl-sql-001.litwareinc.com"

Type:XdsIdentity
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Inputs

The Remove-CsReportingConfiguration cmdlet accepts pipelined instances of the Microsoft.Rtc.Management.WritableConfig.Settings.Reporting.ReportingConfiguration object.

Outputs

None. Instead, the Remove-CsReportingConfiguration cmdlet deletes existing instances of the Microsoft.Rtc.Management.WritableConfig.Settings.Reporting.ReportingConfiguration object.