Get-SCSpfExtensibleEventHandler

Gets the configuration of a runbook in Orchestrator.

Syntax

Get-SCSpfExtensibleEventHandler -EventName <String> [<CommonParameters>]

Description

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

Examples

Example 1: Get the current configuration

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

This command gets the runbook that is configured to be invoked when the VirtualMachineCreated extensible event is raised. This command gets the event name, the uniform resource identifier (URI) for the runbook, and the path for the runbook.

Parameters

-EventName

Specifies either VirtualMachineCreated or ServiceCreated for the event that invokes an Orchestrator runbook.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False