CommandOrigin Enum

Definition

This enum defines the dispatch origin of a command.

C++
public enum class CommandOrigin
Inheritance
CommandOrigin

Fields

Name Value Description
Runspace 0

The command was submitted via a runspace.

Internal 1

The command was dispatched by the engine as a result of a dispatch request from an already running command.

Applies to

Prodotto Versioni
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0