PowerShell.Streams Property

Gets the data streams that contain any messages and error reports that were generated when the pipeline of the PowerShell object is invoked.

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

Dim instance As PowerShell
Dim value As PSDataStreams

value = instance.Streams

public PSDataStreams Streams { get; }
/** @property */
public PSDataStreams get_Streams ()

public function get Streams () : PSDataStreams

Property Value

A PSDataStreams object that provides access to the debug, error, progress, verbose, and warning data streams.

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


Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft