PSDataStreams Class

Provides access to the data streams of a PowerShell object. These data streams include the debug, error, progress, verbose, and warning data streams, but do not include the output data stream. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.


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

'Usage
Dim instance As PSDataStreams

public sealed class PSDataStreams
public final class PSDataStreams
public final class PSDataStreams

Cmdlets that are run by the PowerShell object write information to these data streams using the following "write" methods.

Provider cmdlets that are run by the PowerShell object write information to these data streams using the following "write" methods.


System.Object
  System.Management.Automation.PSDataStreams

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.
Show:
© 2014 Microsoft