PowerCLI Reference

Get-AlarmActionTrigger

Synopsis

This cmdlet retrieves the actions that trigger the specified alarm actions.

Syntax

Get-AlarmActionTrigger [[-AlarmAction] <AlarmAction[]>] [<CommonParameters>]

Related Commands

Online Version
Get-AlarmAction
Get-AlarmActionTrigger
Get-AlarmDefinition
Get-AlarmTrigger
New-AlarmAction
New-AlarmActionTrigger
New-AlarmDefinition
New-AlarmTrigger
Remove-AlarmAction
Remove-AlarmActionTrigger
Remove-AlarmDefinition
Set-AlarmDefinition
Get-Metric
Get-EventType

Detailed Description

This cmdlet retrieves the actions that trigger the specified alarm actions.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AlarmActionAlarmAction[]Filters the trigger actions by the alarm actions they trigger.falseTrue (ByValue)

Return Type

Zero or more AlarmActionTrigger objects

Notes

Examples

-------------------------- Example 1 --------------------------

Get-AlarmAction -AlarmDefinition (Get-AlarmDefinition | select -First 1) | Get-AlarmActionTrigger

Retrieves the action triggers for the actions of the first returned alarm.


Copyright © VMware, Inc. All rights reserved.