I tried to copy files to Windows server 2019 core referring to https://msdn.microsoft.com/en-us/library/mt708806(v=vs.85).aspx. But after i ran the commands: $ip = "192.168.0.100" # replace with your Nano Server's IP address $s = New-PSSession -ComputerName $ip -Credential ~\Administrator
I have already add the two servers into the trustedhosts in each other's local files(Set-Item WSMAN:\localhost\Client\TrustedHosts srvname -force), and also disable the firewall on the remote server.
How can I fix the issue?