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-AlarmDefinition
New-AlarmAction
New-AlarmActionTrigger
Remove-AlarmAction
Remove-AlarmActionTrigger

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.