WSManConnectionInfo Members (System.Management.Automation.Runspaces)

Switch View :
ScriptFree
WSManConnectionInfo Members
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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.

Public Constructors

  Name Description
  WSManConnectionInfo Creates a new WSManConnectionInfo object that connects only to the local computer. This constructor is introduced by Windows PowerShell 2.0.
  WSManConnectionInfo Creates a new WSManConnectionInfo object that contains a Boolean value that indicates whether a secure connection such HTTPS is used, the name of the computer, credentials, and more. This constructor is introduced by Windows PowerShell 2.0.
  WSManConnectionInfo Creates a new WSManConnectionInfo object that contains a Boolean value that indicates whether a secure connection such HTTPS is used, the maximum allowed time (in milliseconds) for the remote runspace to open, and more. This constructor is introduced by Windows PowerShell 2.0.
  WSManConnectionInfo  
  WSManConnectionInfo Creates a new WSManConnectionInfo object that contains the schema, computer name, port, credentials, and more. This constructor is introduced by Windows PowerShell 2.0.
  WSManConnectionInfo Creates a new WSManConnectionInfo object that contains the schema, computer name, the maximum allowed time (in milliseconds) for the remote runspace to open, and more. This constructor is introduced by Windows PowerShell 2.0.
  WSManConnectionInfo Creates a new WSManConnectionInfo object that contains the Uniform Resource Identifier (URI) that defines the connection endpoint. This constructor is introduced by Windows PowerShell 2.0.
  WSManConnectionInfo Creates a new WSManConnectionInfo object that contains the Uniform Resource Identifier (URI) of the connection endpoint, the URI of the shell, and the credentials used to make the connection. This constructor is introduced by Windows PowerShell 2.0.
  WSManConnectionInfo Creates a new WSManConnectionInfo object that contains the Uniform Resource Identifier (URI) of the connection endpoint, the URI of the shell, and a thumbprint of the certificate used to make the connection. This constructor is introduced by Windows PowerShell 2.0.
Top
Public Fields

  Name Description
public field static HttpScheme  
public field static HttpsScheme  
Top
Public Properties

  Name Description
public property ConnectionUri Gets the Uniform Resource Identifier (URI) that defines the connection endpoint. This property is introduced in Windows PowerShell 2.0.
public property ComputerName Overridden. Gets the name of the computer where the remote runspace is opened. This property is introduced in Windows PowerShell 2.0.
public property Scheme Gets the scheme used to make the connection.
public property Port Gets the number of the port used to make the remote connection.
public property AppName Gets the application name for the endpoint on the remote computer. This property is introduced in Windows PowerShell 2.0.
public property Credential Overridden. Gets the user account that has permission to make the connection. This property is introduced in Windows PowerShell 2.0.
public property ShellUri Gets 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 AuthenticationMechanism Overridden. Gets the type of authentication mechanism used to create a PSSession using this connection, such as CredSSP authentication. This property is introduced in Windows PowerShell 2.0.
public property CertificateThumbprint Overridden. Gets 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 MaximumConnectionRedirectionCount Get the maximum Universal Resource Identifier (URI) redirection that is allowed of this connection. This property is introduced in Windows PowerShell 2.0.
public property MaximumReceivedDataSizePerCommand Gets 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 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 UseCompression Gets and sets a Boolean value that indicates whether the WSMan infrastructure compresses the data sent over the network. This property is introduced in Windows PowerShell 2.0.
public property NoMachineProfile Gets and sets a Boolean value that indicates whether the Windows profile of the user is loaded.
public property ProxyAccessType Gets and sets the mechanism that is used to resolve the host name.
public property ProxyAuthentication Gets and sets the authentication method that is used for proxy resolution.
public property ProxyCredential Gets and sets the credentials used to make the connection on the computer.
public property SkipCACheck Gets and sets Boolean value that indicates whether, when connecting over HTTPS, the client does not validate that the server certificate is signed by a trusted certificate authority (CA).
public property SkipCNCheck Gets and sets Boolean value that indicates whether the certificate common name (CN) of the server and the hostname of the server are not checked for being the same.
public property SkipRevocationCheck Gets and sets Boolean value that indicates whether the connect does not validate the revocation status of the server certificate.
public property NoEncryption Gets and sets a Boolean value that indicates whether data encryption is used .
public property UseUTF16 Gets and sets Boolean value that indicates whether requests are formatted in UTF16 format.
public property OutputBufferingMode  
public property Culture  Gets and sets the culture that is used when running commands in the remote runspace. (Inherited from RunspaceConnectionInfo)
public property UICulture  Gets and sets the UI culture that is used when running commands in the remote runspace. (Inherited from RunspaceConnectionInfo)
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 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 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 IdleTimeout  Gets and sets the amount of time (in milliseconds) that Windows PowerShell will wait for an idle operation to complete. (Inherited from RunspaceConnectionInfo)
Top
Public Methods

(see also Protected Methods)
 NameDescription
public methodToString  (Inherited from Object)
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodCopyCreates a WSManConnectionInfo object that is the same as the current WSManConnectionInfo object. This method is introduced in Windows PowerShell 2.0.
public methodSetSessionOptionsOverridden.  
Top
Protected Methods

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

Send comments about this topic to Microsoft.