2.2.3.19 CommandType

This data type specifies a set of zero or more command types. A command type optionally defines one of many possible command categories implemented at a higher layer.

The PowerShell Remoting Protocol does not interpret this data type, but instead passes it directly from higher layers on the client to higher layers on the server.

This data type represents the set of command types by encoding them as a 32-bit wide bit field within a Signed Int (section 2.2.5.1.11).

The Complex Object described in this section SHOULD have the following type names (section 2.2.5.2.3):

  • System.Enum

  • System.ValueType

  • System.Object

For an example, see section 2.2.3.22.