Share via


Get-SCSPFExtensibleEventHandler

Gets the configuration of a runbook in Orchestrator.

Syntax

Default (Default)

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.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object