2.2.3.30 CommandOrigin

This data type describes what caused a higher layer command to run. PSRP MUST NOT interpret values of this type.

This data type is an enum (see section 2.2.5.2.7) based on the default underlying type, Signed Int (section 2.2.5.1.11), that defines the following named constants:

Value

Meaning

0 - Runspace

The command was invoked directly by the user.

1 – Internal

The command was invoked by another command.