Get-SCSPFExtensibleEventHandler

Applies To: System Center 2012 R2 Orchestrator

Get-SCSPFExtensibleEventHandler

Gets the configuration of a runbook in System Center 2012 - Orchestrator that has been set to be invoked when a specified event is raised.

Syntax

Parameter Set: Default
Get-SCSPFExtensibleEventHandler -EventName <String> [ <CommonParameters>]

Detailed Description

The Get-SCSPFExtensibleEventHandler cmdlet gets the configuration for the Orchestrator runbook that is invoked whenever the VirtualMachineCreated or ServiceCreated extensible events are raised.

Parameters

-EventName<String>

Specifies either VirtualMachineCreated or ServiceCreated for the event that invokes an Orchestrator runbook. These are the only permitted values for this parameter.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get current configuration

This command gets the runbook that is configured to be invoked when the VirtualMachineCreated extensible event is raised, and lists the event name, runbook URI, and runbook path.

PS C:\> Get-SCSPFExtensibleEventHandler -EventName "VirtualMachineCreated"

Set-SCSPFExtensibleEventHandler