SQL Monitor 12

Help for older versions available.

Where are you using Redgate Monitor? (pick the closest answer)

These pages cover SQL Monitor 12, which is not the latest version. Help for other versions is also available.

Remove-SqlMonitorAlertSuppressionWindow

Removes an alert suppression window.

Syntax

  1. Remove-SqlMonitorAlertSuppressionWindow [-AlertSuppressionWindow] <BaseAlertSuppressionWindow> [<CommonParameters>]
  2.  

Description

Removes an alert suppression window previously retrieved using Get-AlertSuppressionWindow.

Parameters

-AlertSuppressionWindow <BaseAlertSuppressionWindow>

Alert suppression window to be removed

Aliases None
Required? true
Position? 1
Default Value None
Accept Pipeline Input True (ByValue)
Accept Wildcard Characters false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • [AlertSuppressionWindow] See Get-AlertSuppressionWindow.

Return values

The output type is the type of the objects that the cmdlet emits.

  • None.
    You cannot pipe input to this cmdlet.

Examples

-------------------------- EXAMPLE 1 --------------------------

  1. $baseMonitor = Get-SqlMonitorBaseMonitor -Name 'us2.server'
  2. $alertSuppressionWindow = $baseMonitor | Get-AlertSuppressionWindow -Name 'Weekend maintenance'
  3. Remove-AlertSuppressionWindow -AlertSuppressionWindow $alertSuppressionWindow


Do you have any feedback on this documentation?

Let us know at sqlmonitorfeedback@red-gate.com


Didn't find what you were looking for?