Windows Dev Center

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.

RemoteStreamOptions Enumeration

Defines the data streams that are updated with the invocation information for remote calls. 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 RemoteStreamOptions

[FlagsAttribute] 
public enum RemoteStreamOptions
/** @attribute FlagsAttribute() */ 
public enum RemoteStreamOptions
FlagsAttribute 
public enum RemoteStreamOptions

Member nameDescription
AddInvocationInfoInvocation information is added to DebugRecord, ErrorRecord, VerboseRecord, and WarningRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToDebugRecordInvocation information is added to DebugRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToErrorRecordInvocation information is added to ErrorRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToVerboseRecordInvocation information is added to VerboseRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToWarningRecordInvocation information is added to WarningRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.

This enumeration is used when setting the PSInvocationSettings.RemoteStreamOptions property.

The data stream objects that can be updated include the DebugRecord, ErrorRecord, VerboseRecord, and WarningRecord objects.


 

Target Platforms


Show:
© 2015 Microsoft