You can use Windows PowerShell remoting with the WS-Management protocol to connect to the computers in a domain from a computer that is a member of a workgroup, not a domain. However, some preparation is required. This topic explains how to configure a workgroup-based computer for Windows PowerShell remoting to a domain.
If you try to establish remote connections from a workgroup-based computer that is not correctly configured, Windows PowerShell generates the following error message.
Copy Code | |
---|---|
ERROR: The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. |
To configure a workgroup-based computer for remoting
-
Configure the computer for HTTPS transport or add the names of the remote (domain-based) computers to the TrustedHosts list on the local (workgroup-based) computer. For more information, see How to Add a Computer to the TrustedHosts List.
-
Verify that a password is set on the workgroup-based computer. If a password is not set or the password value is empty, you cannot run remote commands. To set password for your user account, in Control Panel, use User Accounts.
-
Use the Credential parameter in all remote commands. This is required even when you are submitting the credentials of the current user.