PowerShellStreamType Enum

Definition

Caution

This enum type was used only in PowerShell Workflow and is now obsolete.

Enumeration of the possible PowerShell stream types. This enumeration is obsolete.

C++
public enum class PowerShellStreamType
Inheritance
PowerShellStreamType
Attributes

Fields

Name Value Description
Input 0

PSObject.

Output 1

PSObject.

Error 2

ErrorRecord.

Warning 3

WarningRecord.

Verbose 4

VerboseRecord.

Debug 5

DebugRecord.

Progress 6

ProgressRecord.

Information 7

InformationRecord.

Remarks

This enumeration is a public type formerly used in PowerShell Workflow, but kept due to its generic name and public accessibility. It is not used by any other PowerShell API, and is now obsolete and should not be used if possible.

Applies to

Product Versions (Obsolete)
PowerShell SDK (7.2.0, 7.3.0, 7.4.0)
Windows PowerShell 5.1.0.0