Remove-AlarmActionTrigger

This cmdlet removes the selected alarm action triggers.

Syntax

-AlarmActionTrigger  <AlarmActionTrigger[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
AlarmActionTrigger
AlarmActionTrigger[] named
  • pipeline
  • Specifies the alarm action triggers you want to remove.

    Output

    Examples


    Example 1

    Get-AlarmDefinition -Name "Alarm1" | Get-AlarmAction | Get-AlarmActionTrigger | select -First 1 | Remove-AlarmActionTrigger -Confirm:$false

    Removes the first action trigger found for an alarm definition.

    Related Commands

    Feedback

    Was this page helpful?