2.2.3.31 PipelineResultTypes

The PipelineResultTypes data type specifies a set of zero or more pipeline result types.

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

This data type represents the set of pipeline result types by encoding them as a set of bit flags within a Signed Int (section 2.2.5.1.11). A given pipeline result type is included in the set by setting the corresponding bit, or excluded by clearing the bit. The possible pipeline result types and their corresponding values are listed in the following table:

Value

Description

0x00

None

No Results

0x01

Output

Pipeline output

0x02

Error

Pipeline error output

0x04

Warning

Pipeline warning output.

0x08

Verbose

Pipeline verbose output.

0x10

Debug

Pipeline debug output.

0x20

All

All pipeline output.

0x40

NULL

No pipeline output.

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

  • System.Management.Automation.Runspaces.PipelineResultTypes

  • System.Enum

  • System.ValueType

  • System.Object

For an example, see section 2.2.2.10.