Export (0) Print
Expand All

Add-ServerMonitoringOverride

 

Applies to: Exchange Server 2013

Topic Last Modified: 2014-10-24

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

Use the Add-ServerMonitoringOverride cmdlet to override the properties of managed availability probes, monitors, and responders on a server running Microsoft Exchange Server 2013.

For information about the parameter sets in the Syntax section below, see 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 maintenance server monitoring override for 20 days.

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 and Shell infrastructure permissions topic.

 

Parameter Required Type Description

ApplyVersion

Required

System.Version

The ApplyVersion parameter specifies the version of override. The valid input for this parameter is a number in the format 15.00.xxxx.xxx.

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].

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 that you want to designate for the new property. Valid value are:

  • Probe

  • Monitor

  • Responder

PropertyName

Required

System.String

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

PropertyValue

Required

System.String

The PropertyValue parameter specifies the new value for the server property.

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 causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.

Duration

Optional

Microsoft.Exchange.Data.EnhancedTimeSpan

The Duration parameter specifies the length of time to keep the monitoring override.

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

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

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf 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.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft