This topic has not yet been rated - Rate this topic

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.
Top
  Name Description
public property 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.
public property CancelTimeout Gets or sets the duration of time that Windows PowerShell waits for a cancel operation (Ctrl+C) to complete before terminating.
public property Culture Gets or sets the culture used by the session.
public property 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.
public property IncludePortInSPN Gets or sets a value that indicates whether to use the service principal name (SPN) along with the port number during authentication.
public property 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.
public property 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.
public property MaximumReceivedObjectSize Gets or sets the maximum size of an object that the local computer can receive from the remote computer.
public property NoCompression Gets or sets a value that indicates whether the session uses packet compression.
public property NoEncryption Gets or sets a value that indicates whether the session uses data encryption.
public property NoMachineProfile Gets or sets a value that indicates whether the Windows user profile for the user is used.
public property 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.
public property OperationTimeout Gets or sets the maximum amount of time that any operation in the session can run. When the interval expires, the operation fails.
public property OutputBufferingMode Gets or sets how a server in disconnected state deals with cached output data if the cache becomes filled.
public property ProxyAccessType Gets or sets the mechanism that is used to resolve the host name.
public property ProxyAuthentication Gets or sets the authentication method that is used for proxy resolution.
public property ProxyCredential Gets or sets the credentials used for proxy authentication.
public property 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).
public property 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.
public property SkipRevocationCheck Gets or sets a value that indicates whether the connection does not validate the revocation status of the server certificate.
public property UICulture Gets or sets the user interface (UI) culture for the session.
public property UseUTF16 Gets or sets a value that indicates whether the UTF-16 format or the UTF-8 format is used when encoding requests.
Top
(see also Protected Methods )
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top
  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.