I am trying to copy some files from Server A to Server B using a simple PowerShell command. The servers are not in the AD domain.
`Copy-Item -Path "\\ServerA\d$\work\file.zip" -Destination D:\work\file.zip -Force -PassThru`
I already tried the
-credential, but it doesn’t work too. Same “Access Denied” error.
Any idea to copy files between non-domain servers?