Commands › Exchange Online

Add-GlobalMonitoringOverride

Exchange Online ExchangeOnlineManagement Add-*

Override the thresholds and parameters of the managed availability probes, monitors and responders on all Exchange 2013 or later servers in your organization. The cmdlet enables monitoring changes and threshold tuning to the environment.

Quick start script

# Add-GlobalMonitoringOverride — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Add-GlobalMonitoringOverride -Identity <String> -ApplyVersion <Version> -ItemType <MonitoringItemTypeEnum> | Format-List

# 3. Export for evidence / drift tracking
Add-GlobalMonitoringOverride | Export-Clixml .\GlobalMonitoringOverride-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

ApplyVersion

Add-GlobalMonitoringOverride [-Identity] <String> -ApplyVersion <Version> -ItemType <MonitoringItemTypeEnum> -PropertyName <String> -PropertyValue <String>
 [-Confirm]
 [-DomainController <Fqdn>]
 [-Roles <String>]
 [-WhatIf]
 [<CommonParameters>]

Duration

Add-GlobalMonitoringOverride [-Identity] <String> -ItemType <MonitoringItemTypeEnum> -PropertyName <String> -PropertyValue <String>
 [-BuildRange <String>]
 [-Duration <EnhancedTimeSpan>]
 [-Confirm]
 [-DomainController <Fqdn>]
 [-Roles <String>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (11)

ParameterTypeRequiredWhat it controls
-Identity String yes The Identity parameter specifies the identity of the probe, monitor, or responder. This parameter uses the syntax `HealthSetName\MonitoringItemName[\TargetResource]`. The values are case sensitive. For example, use...
-ApplyVersion Version yes The ApplyVersion parameter specifies the version of Exchange that gets the override. If an Exchange server is older or newer than the version you specify, the override isn't applied to the server. Typically, you...
-ItemType MonitoringItemTypeEnum yes The ItemType parameter specifies the item type for the property that you want to override. Valid values are:
-PropertyName String yes The PropertyName parameter specifies the property that you want to override.
-PropertyValue String yes The PropertyValue parameter specifies the new value for the property that you want to override.
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...
-Duration EnhancedTimeSpan The Duration parameter specifies the length of time that the override is active.
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. You don't need to specify a value with this switch.
-BuildRange String This parameter is reserved for internal Microsoft use.
-Roles String This parameter is reserved for internal Microsoft use.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.