Export (0) Print
Expand All
Expand Minimize

Get-AlertDestination

Get-AlertDestination

Gets the connector to which the alert is forwarded.

Syntax

Parameter Set: FromAlert
Get-AlertDestination [-Alert] <MonitoringAlert[]> [ <CommonParameters>]




Detailed Description

Gets the connector to which the alert is forwarded.

Parameters

-Alert<MonitoringAlert[]>

Specifies the alert or set of alerts for which to retrieve the destination. You can retrieve objects to supply as values to this parameter by using Get-Alert. To enter multiple values, separate them by using commas.


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 about_CommonParameters

Notes

  • For more information, type "Get-Help Get-AlertDestination -detailed". For technical information, type "Get-Help Get-AlertDestination -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

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

This command first uses Get-Alert to retrieve the alerts associated with all connected management groups. It pipes the results to Get-AlertDestination to display connection information for each alert.


C:\PS>get-alert | get-alertdestination

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft