Windows Dev Center

Expand Minimize

OutputBufferingMode Enumeration

Describes the behavior of a Web Services for Management protocol (WSMan) server if the output cache for the running command pipeline is full. Introduced in Windows PowerShell 3.0.


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

'Usage
Dim instance As OutputBufferingMode

public enum OutputBufferingMode
public enum OutputBufferingMode
public enum OutputBufferingMode

Member nameDescription
BlockCommand pipeline execution on the server is blocked until the session is reconnected. Introduced in Windows PowerShell 3.0.
DropCommand pipeline execution continues, and excess output is dropped in first-in, first-out (FIFO) order. Introduced in Windows PowerShell 3.0.
NoneNo output buffering mode is specified. Output buffering mode on the server defaults to Block if a new session is created, or will retain its current mode for non-creation scenarios (for example, disconnection or connection operations). Introduced in Windows PowerShell 3.0.

The WSMan transport manager supports Windows PowerShell sessions that have been disconnected. When a remote Windows PowerShell session server is in the disconnected state, output from the running command pipeline is cached on the server. This enumeration determines what the server does when the cache is full.


 

Target Platforms


Show:
© 2015 Microsoft