WSManConnectionInfo Constructor (Boolean, String, Int32, String, String, PSCredential)
Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in system.management.automation.dll)
public WSManConnectionInfo ( bool useSsl, string computerName, int port, string appName, string shellUri, PSCredential credential )
public WSManConnectionInfo ( boolean useSsl, String computerName, int port, String appName, String shellUri, PSCredential credential )
public function WSManConnectionInfo ( useSsl : boolean, computerName : String, port : int, appName : String, shellUri : String, credential : PSCredential )
Parameters
- useSsl
Specifies whether content is transmitted across a secure connection such as HTTPS. If true, Windows PowerShell content is transmitted across a secure connection. If false (the default), content is transmitted across an unsecured connection.
- computerName
The name of the computer where the remote runspace is opened. The value can be a fully qualified domain name, a NetBIOS name, or an IP address. For the local computer name (default), use localhost, or use a dot (.) to specify the local computer. When the remote computer is in a different domain from the user, a fully qualified domain name must be used.
- port
The port on the computer where the remote connection is made.
- appName
The application end point to connect to.
- shellUri
The URI of the shell that is launched when the connection is made.
- credential
A PSCredential object that contains the user account that has permission to make the connection.
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.
