Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PowerShellStreams<TInput, TOutput> Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Contains properties and methods for storing and retrieving streams that are sent to or received from Windows PowerShell. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System::Object
  System.Management.Automation::PowerShellStreams<TInput, TOutput>

generic<typename TInput, typename TOutput>
public ref class PowerShellStreams sealed : IDisposable

Type Parameters

TInput

The pipeline input.

TOutput

The pipeline output.

NameDescription
System_CAPS_pubmethodPowerShellStreams<TInput, TOutput>()

Initializes a new instance of the PowerShellStreams<TInput, TOutput> class using the default constructor. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodPowerShellStreams<TInput, TOutput>(PSDataCollection<TInput>^)

Initializes a new instance of the PowerShellStreams<TInput, TOutput> class using pipeline input. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyDebugStream

Gets or sets the debug stream. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyErrorStream

Gets or sets the error stream. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyInformationStream

Gets the information stream.

System_CAPS_pubpropertyInputStream

Gets or sets the input stream. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyOutputStream

Gets or sets the output stream. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyProgressStream

Gets or sets the progress stream. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyVerboseStream

Gets or sets the verbose stream. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyWarningStream

Gets or sets the verbose stream. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodCloseAll()

Closes all Windows PowerShell streams. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodDispose()

Releases all resources used by the PowerShellStreams<TInput, TOutput>. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

Show: