PSDataStreams Class

Definition

Streams generated by PowerShell invocations

public sealed class PSDataStreams
Inheritance
PSDataStreams

Properties

Debug

Gets or sets the debug buffer. Powershell invocation writes the debug data into this buffer. Can be null.

Error

Gets or sets the error buffer. Powershell invocation writes the error data into this buffer.

Information
Progress

Gets or sets the progress buffer. Powershell invocation writes the progress data into this buffer. Can be null.

Verbose

Gets or sets the verbose buffer. Powershell invocation writes the verbose data into this buffer. Can be null.

Warning

Gets or sets the warning buffer. Powershell invocation writes the warning data into this buffer. Can be null.

Methods

ClearStreams()

Removes all items from all the data streams