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

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the data streams that are updated with the invocation information for remote calls. This class is introduced in Windows PowerShell 2.0.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

<FlagsAttribute>
Public Enumeration RemoteStreamOptions

Member nameDescription
AddInvocationInfo

If this flag is set, ErrorRecord, WarningRecord, DebugRecord, and VerboseRecord will include an instance of InvocationInfo on remote calls

AddInvocationInfoToDebugRecord

If this flag is set, DebugRecord will include an instance of InvocationInfo on remote calls

AddInvocationInfoToErrorRecord

If this flag is set, ErrorRecord will include an instance of InvocationInfo on remote calls

AddInvocationInfoToVerboseRecord

If this flag is set, VerboseRecord will include an instance of InvocationInfo on remote calls

AddInvocationInfoToWarningRecord

If this flag is set, WarningRecord will include an instance of InvocationInfo on remote calls

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.

Return to top
Show: