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.

PSSessionConfiguration Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides access to information about a PSSession, such as the initial session state that is used to open the session and the maximum limits for data sent to the session. This class is introduced in Windows PowerShell 2.0.

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

System.Object
  System.Management.Automation.Remoting.PSSessionConfiguration
    Microsoft.PowerShell.Workflow.PSWorkflowSessionConfiguration

public abstract class PSSessionConfiguration : IDisposable

NameDescription
System_CAPS_protmethodPSSessionConfiguration()

Initializes a new instance of the PSSessionConfiguration class. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the PSSessionConfiguration. This method is called when the runspace for the PSSession is closed. This method is introduced in Windows PowerShell 2.0.

System_CAPS_protmethodDispose(Boolean)

Not implemented.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetApplicationPrivateData(PSSenderInfo)

When overridden in a derived class, retrieves the application's private data that is going to be sent to the client.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetInitialSessionState(PSSenderInfo)

When overridden in a derived class, retrieves the initial session state that was used to open the PSSession by using the sender information. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetInitialSessionState(PSSessionConfigurationData, PSSenderInfo, String)

When overridden in a derived class, retrieves the initial session state that was used to open the PSSession by using the session configuration data, the sender information, and the configuration provider. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetMaximumReceivedDataSizePerCommand(PSSenderInfo)

Retrieves the maximum allowed data, in bytes, that can be received from the PSSession for a single command. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetMaximumReceivedObjectSize(PSSenderInfo)

Retrieves the maximum allowed size, in bytes, of a deserialized object that is received from the PSSession. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

A PSSession is typically a session that is opened on a remote computer, although it can also be created on the local computer. At the command line, a PSSession is created by running the New-PSSession cmdlet.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: