New-PSSession : [Server01] Connecting to remote server Server01 failed with the following error message : 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. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be
authenticated. You can get more information about that by running the following command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:2 char:10.

I don’t understand from here on, any suggestion or help ?

3 Spice ups

Welcome.

Can you give us more details?

Are both computer on the same domain? Did you enable WinRM / PS Remoting?

if it’s a non domain environment you have to add the machine to the trusted list

# Or if IPs are constantly changing, add ALL IPs (* is the wildcard)
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "*" -Force

There are a lot of reasons for this message. And, to be honest, the error message says it pretty succinctly.

Are you attempting to connect to a domain-joined host from a domain-joined host? If not, what credentials have you specified and how do you have trustedhosts setup?