Applies to: Exchange Server 2013

Topic Last Modified: 2013-01-04

Use the Add-ServerMonitoringOverride cmdlet to add thresholds and parameters used by the 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.

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

Examples

EXAMPLE 1

This example adds a maintenance server monitoring override for 20 days.

Copy Code
Add-ServerMonitoringOverride -Duration 20.00:00:00 -Identity Server01 -ItemType Monitor -PropertyName Enabled -PropertyValue 0

Detailed Description

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.

Parameters

Parameter Required Type Description

ApplyVersion

Required

System.Version

The ApplyVersion parameter specifies the version of override.

To specify a value, enter it as "ProductName\BuildVersion"

Duration

Required

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.

Identity

Required

System.String

The Identity parameter specifies the identity of the server to access.

ItemType

Required

Microsoft.Exchange.Data.MonitoringItemTypeEnum

The ItemType parameter specifies the server item type that you want to designate the new property. It can be any of the following values:

  • 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 on which you want to run this command. You can use any value that uniquely identifies the server. For example:

  • Name

  • FQDN

  • Distinguished name (DN)

  • Exchange Legacy DN

If you don't use the Server parameter, the command is run on the local server.

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.

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.

Input Types

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.

Return Types

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.