Export (0) Print
Expand All
Expand Minimize

Get-Connector

Get-Connector

Get the connectors for a management group.

Syntax

Parameter Set: Empty
Get-Connector [[-Path] <String[]> ] [ <CommonParameters>]

Parameter Set: FromAlert
Get-Connector [-Alert] <MonitoringAlert> [[-Path] <String[]> ] [ <CommonParameters>]

Parameter Set: FromId
Get-Connector [-Id] <Guid> [[-Path] <String[]> ] [ <CommonParameters>]




Detailed Description

Get the connectors for a management group.

Parameters

-Alert<MonitoringAlert>

Specifies the alert for which to get connectors. You can use Get-Alert to retrieve an object to provide as a value for this parameter.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Id<Guid>

Specifies the GUID of the connector to retrieve.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Path<String[]>

Specifies the path or set of paths to management groups for which to retrieve connectors. To enter multiple values, separate them by using commas.


Aliases

none

Required?

false

Position?

3

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-Connector -detailed". For technical information, type "Get-Help Get-Connector -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 gets the connector object with ID <guid> and stores a reference to it in the $connector variable.


C:\PS>$connector = get-connector -id <guid>

Related topics

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