Expand Minimize

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 class 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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft