This topic has not yet been rated - Rate this topic

RemoteStreamOptions Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)
'Usage
Dim instance As RemoteStreamOptions

[FlagsAttribute] 
public enum RemoteStreamOptions
/** @attribute FlagsAttribute() */ 
public enum RemoteStreamOptions
FlagsAttribute 
public enum RemoteStreamOptions
Member name Description
AddInvocationInfo Invocation information is added to ErrorRecord, DebugRecord, VerboseRecord, and WarningRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToDebugRecord Invocation information is added to DebugRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToErrorRecord Invocation information is added to ErrorRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToVerboseRecord Invocation information is added to VerboseRecord objects generated by remote calls. This field is introduced in Windows PowerShell 2.0.
AddInvocationInfoToWarningRecord Invocation 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 ErrorRecord, DebugRecord, DebugRecord, and WarningRecord objects.


 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)