Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

WSManConnectionInfo Constructor

Initializes a new instance of the WSManConnectionInfo class. This constructor is introduced by Windows PowerShell 2.0.
NameDescription
WSManConnectionInfo ()Initializes a new instance of the WSManConnectionInfo class that connects only to the local computer. This constructor is introduced by Windows PowerShell 2.0.
WSManConnectionInfo (Boolean, String, Int32, String, String, PSCredential)Initializes a new instance of the WSManConnectionInfo class that contains a value that indicates whether a secure connection such Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) is used, the name of the computer, credentials, and more. This constructor is introduced by Windows PowerShell 2.0.
WSManConnectionInfo (Boolean, String, Int32, String, String, PSCredential, Int32)Initializes a new instance of the WSManConnectionInfo class that contains a value that indicates whether a secure connection such Hypertext Transfer Protocol over Secure Socket Layer (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 (PSSessionType)Initializes a new instance of the WSManConnectionInfo class that contains a configuration type.
WSManConnectionInfo (String, String, Int32, String, String, PSCredential)Initializes a new instance of the WSManConnectionInfo class that contains the schema, computer name, port, credentials, and more. This constructor is introduced by Windows PowerShell 2.0.
WSManConnectionInfo (String, String, Int32, String, String, PSCredential, Int32)Initializes a new instance of the WSManConnectionInfo class 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 (Uri)Initializes a new instance of the WSManConnectionInfo class that contains the uniform resource identifier (URI) that defines the connection endpoint. This constructor is introduced by Windows PowerShell 2.0.
WSManConnectionInfo (Uri, String, PSCredential)Initializes a new instance of the WSManConnectionInfo class 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 (Uri, String, String)Initializes a new instance of the WSManConnectionInfo class 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.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft. All rights reserved.