Get-SCSPFExtensibleEventHandler

Get-SCSPFExtensibleEventHandler

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

構文

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

詳細説明

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

パラメーター

-EventName<String>

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

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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