PSSessionOption Members
Provides information about the advanced options for a session. This object is returned by the New-PSSessionOption cmdlet. This class cannot be inherited.
The following tables list the members exposed by the PSSessionOption type.
| Name | Description | |
|---|---|---|
| PSSessionOption | Initializes a new instance of the PSSessionOption class. |
| Name | Description | |
|---|---|---|
|
ApplicationArguments | Gets or sets the arguments for applications that are built on top of Windows PowerShell. These applications can open runspaces with different session states based on these application arguments. |
|
CancelTimeout | Gets or sets the duration of time that Windows PowerShell waits for a cancel operation (Ctrl+C) to complete before terminating. |
|
Culture | Gets or sets the culture used by the session. |
|
IdleTimeout | Gets or sets the amount of time that the session remains open when it does not receive any communication from the local computer, including the heartbeat signal. |
|
IncludePortInSPN | Gets or sets a value that indicates whether to use the service principal name (SPN) along with the port number during authentication. |
|
MaximumConnectionRedirectionCount | Gets or sets the maximum number of times that Windows PowerShell redirects a connection to an alternate universal resource identifier (URI) before the connection fails. |
|
MaximumReceivedDataSizePerCommand | Gets or sets the maximum amount of data, in bytes, that the local computer can receive from the remote computer in a single command. |
|
MaximumReceivedObjectSize | Gets or sets the maximum size of an object that the local computer can receive from the remote computer. |
|
NoCompression | Gets or sets a value that indicates whether the session uses packet compression. |
|
NoEncryption | Gets or sets a value that indicates whether the session uses data encryption. |
|
NoMachineProfile | Gets or sets a value that indicates whether the Windows user profile for the user is used. |
|
OpenTimeout | Gets or sets the maximum amount of time that the client computer waits for the session connection to be established. When the interval expires, the command to establish the connection fails. |
|
OperationTimeout | Gets or sets the maximum amount of time that any operation in the session can run. When the interval expires, the operation fails. |
|
OutputBufferingMode | Gets or sets how a server in disconnected state deals with cached output data if the cache becomes filled. |
|
ProxyAccessType | Gets or sets the mechanism that is used to resolve the host name. |
|
ProxyAuthentication | Gets or sets the authentication method that is used for proxy resolution. |
|
ProxyCredential | Gets or sets the credentials used for proxy authentication. |
|
SkipCACheck | Gets or sets a value that indicates whether the client validates that the server certificate is signed by a trusted certificate authority (CA) when connecting over Hypertext Transfer Protocol over Secure Socket Layer (HTTPS). |
|
SkipCNCheck | Gets or sets a value that indicates whether the client validates that the certificate common name (CN) of the server matches the hostname of the server. |
|
SkipRevocationCheck | Gets or sets a value that indicates whether the connection does not validate the revocation status of the server certificate. |
|
UICulture | Gets or sets the user interface (UI) culture for the session. |
|
UseUTF16 | Gets or sets a value that indicates whether the UTF-16 format or the UTF-8 format is used when encoding requests. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object) |
![]() | GetHashCode | (Inherited from Object) |
![]() | GetType | (Inherited from Object) |
![]() | ToString | (Inherited from Object) |
| Name | Description | |
|---|---|---|
|
Finalize | (Inherited from Object) |
|
MemberwiseClone | (Inherited from Object) |
Reference
PSSessionOption ClassSystem.Management.Automation.Remoting Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.