TechNet
Export (0) Print
Expand All

Add-ServerMonitoringOverride

 

Applies to: Exchange Server 2016

This cmdlet is available only in on-premises Exchange Server 2016.

Use the Add-ServerMonitoringOverride cmdlet to override the thresholds and parameters of managed availability probes, monitors, and responders on Exchange servers.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Add-ServerMonitoringOverride [-Duration <EnhancedTimeSpan>] <COMMON PARAMETERS>
Add-ServerMonitoringOverride -ApplyVersion <Version> <COMMON PARAMETERS>
COMMON PARAMETERS: -Identity <String> -ItemType <Probe | Monitor | Responder | Maintenance> -PropertyName <String> -PropertyValue <String> -Server <ServerIdParameter> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]

This example adds a server monitoring override that disables the responder ActiveDirectoryConnectivityConfigDCServerReboot on the server named EXCH03 for 20 days. Note that the value of Identity is case-sensitive.

Add-ServerMonitoringOverride -Identity "AD\ActiveDirectoryConnectivityConfigDCServerReboot" -Server EXCH03 -ItemType Responder -PropertyName Enabled -PropertyValue 0 -Duration 20.00:00:00

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Shell infrastructure permissions" section in the Exchange infrastructure and PowerShell permissions topic.

 

Parameter Required Type Description

ApplyVersion

Required

System.Version

The ApplyVersion parameter specifies the version of Exchange that gets the override. If you update Exchange to a newer version (for example, you apply a Cumulative Update or Service Pack), the override is no longer applied to the server.

Valid input for this parameter is an Exchange version number in the format 15.01.xxxx.xxx.

You can't use this parameter with the Duration parameter.

Identity

Required

System.String

The Identity parameter specifies the identity of the monitoring item that you want to override. This parameter uses the syntax <HealthSet>\<MonitoringItemName>[\<TargetResource>]. Note that the values are case sensitive. For example, use "AD\ActiveDirectoryConnectivityConfigDCServerReboot", not "ad\activedirectoryconnectivityconfigdcserverreboot".

You can use Get-ServerHealth to find the correct object for the monitoring item you want to override.

ItemType

Required

Microsoft.Exchange.Data.MonitoringItemTypeEnum

The ItemType parameter specifies the server item type for the property that you want to override. Valid value are:

  • Probe

  • Monitor

  • Responder

PropertyName

Required

System.String

The PropertyName parameter specifies the server property that you want to override.

PropertyValue

Required

System.String

The PropertyValue parameter specifies the new value for the server property that you want to override.

Server

Required

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

The Server parameter specifies the Exchange server where you want to add the monitoring override. You can use any value that uniquely identifies the server. For example:

  • Name

  • FQDN

  • Distinguished name (DN)

  • Exchange Legacy DN

You can't use this parameter to configure other Edge Transport servers remotely.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.

  • Destructive cmdlets (for example, Remove-* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: -Confirm:$false.

  • Most other cmdlets (for example, New-* and Set-* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding.

Duration

Optional

Microsoft.Exchange.Data.EnhancedTimeSpan

The Duration parameter specifies the length of time that the override is active.

To specify a value, enter it as a time span: dd.hh:mm:ss where dd = days, hh = hours, mm = minutes, and ss = seconds.

For example, 30.10:00:00 specifies 30 days and 10 hours.

You can't use this parameter with the ApplyVersion parameter.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

 
Show:
© 2016 Microsoft