Export (0) Print
Expand All

WSManConnectionInfo Members

Provides the connection information that is needed to connect to a remote runspace. Windows PowerShell uses a Windows Remote Management (WinRM) connection to connect to the computer where the remote runspace is opened. This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the WSManConnectionInfo type.

  Name Description
  WSManConnectionInfo Overloaded. Initializes a new instance of the WSManConnectionInfo class. This constructor is introduced by Windows PowerShell 2.0.
Top

  Name Description
public field static HttpScheme Specifies the Hypertext Transfer Protocol (HTTP) scheme. This field is constant.
public field static HttpsScheme Specifies the Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) scheme. This field is constant.
Top

  Name Description
public property AppName Gets or sets the application name for the endpoint on the remote computer. This property is introduced in Windows PowerShell 2.0.
public property AuthenticationMechanism Overridden. Gets or sets the type of authentication mechanism used to create a PSSession using this connection, such as Credential Security Service Provider (CredSSP) authentication. This property is introduced in Windows PowerShell 2.0.
public property CancelTimeout  Gets and sets the maximum allowed time (in milliseconds) that Windows PowerShell will wait before it times due to a cancel operations, such as closing the runspace or stopping Windows PowerShell.  (Inherited from RunspaceConnectionInfo)
public property CertificateThumbprint Overridden. Gets or sets the thumbprint of the digital public key certificate (X509) used to make the connection. This property is introduced in Windows PowerShell 2.0.
public property ComputerName Overridden. Gets or sets the name of the computer where the remote runspace is opened. This property is introduced in Windows PowerShell 2.0.
public property ConnectionUri Gets or sets the uniform resource identifier (URI) that defines the connection endpoint. This property is introduced in Windows PowerShell 2.0.
public property Credential Overridden. Gets or sets the user account that has permission to make the connection. This property is introduced in Windows PowerShell 2.0.
public property Culture  Gets and sets the culture that is used when running commands in the remote runspace. (Inherited from RunspaceConnectionInfo)
public property EnableNetworkAccess  
public property IdleTimeout  Gets and sets the amount of time (in milliseconds) that Windows PowerShell will wait for an idle operation to complete. (Inherited from RunspaceConnectionInfo)
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 MaxConnectionRetryCount  
public property MaxIdleTimeout  (Inherited from RunspaceConnectionInfo)
public property MaximumConnectionRedirectionCount Get or sets the maximum number of times that universal resource identifier (URI) redirection is allowed for this connection. This property is introduced in Windows PowerShell 2.0.
public property MaximumReceivedDataSizePerCommand Gets or sets the maximum amount of data, in bytes, that can be received using this connection. This property is introduced in Windows PowerShell 2.0.
public property MaximumReceivedObjectSize Gets or sets the maximum size, in bytes, of a deserialized object that can be received from using this connection. This property is introduced in Windows PowerShell 2.0.
public property NoEncryption Gets or sets a value that indicates whether data encryption is used.
public property NoMachineProfile Gets or sets a value that indicates whether the Windows profile of the user is loaded.
public property OpenTimeout  Gets and sets the maximum amount of time (in milliseconds) that Windows PowerShell will wait for an open operation to complete. (Inherited from RunspaceConnectionInfo)
public property OperationTimeout  Gets and sets the amount of time (in milliseconds) that Windows PowerShell will wait for an operation to complete. (Inherited from RunspaceConnectionInfo)
public property OutputBufferingMode Gets or sets how a server in disconnected state deals with cached output data if the cache becomes filled.
public property Port Gets or sets the number of the port used to make the remote connection.
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 to make the connection on the computer.
public property Scheme Gets or sets the scheme used to make the connection.
public property ShellUri Gets or sets the uniform resource identifier (URI) of the shell that is launched when the connection is made. This property is introduced in Windows PowerShell 2.0.
public property SkipCACheck Gets or sets a value that indicates whether, when connecting over Hypertext Transfer Protocol over Secure Socket Layer (HTTPS), the client does not validate that the server certificate is signed by a trusted certificate authority (CA).
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 and sets the UI culture that is used when running commands in the remote runspace. (Inherited from RunspaceConnectionInfo)
public property UseCompression Gets or sets a value that indicates whether the Web Services for Management (WSMan) protocol infrastructure compresses the data sent over the network. This property is introduced in Windows PowerShell 2.0.
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 methodCopyCreates a WSManConnectionInfo object that is the same as the current WSManConnectionInfo object. This method is introduced in Windows PowerShell 2.0.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodSetSessionOptionsOverridden. Sets the advanced options for the session.
public methodToString  (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top


Show:
© 2015 Microsoft