CommandOrigin Enum 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This enum defines the dispatch origin of a command.
public enum class CommandOriginpublic enum CommandOrigintype CommandOrigin = Public Enum 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. |