1 out of 1 rated this helpful - Rate this topic

WSManConnectionInfo Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Creates a new WSManConnectionInfo object. The variants of this constructor can create an object that connects only to the local host, objects that specify the Uniform Resource Identifier (URI) of the connection endpoint, and objects that specify the name of the computer to connect to. This constructor is introduced by Windows PowerShell 2.0.
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 (PSSessionType)  
WSManConnectionInfo (Uri) 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 (Uri, String, PSCredential) 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 (Uri, String, String) 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.
WSManConnectionInfo (Boolean, String, Int32, String, String, PSCredential) 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 (String, String, Int32, String, String, PSCredential) 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 (Boolean, String, Int32, String, String, PSCredential, Int32) 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 (String, String, Int32, String, String, PSCredential, Int32) 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.

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)