Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Unusual UNC issue when trying to copy files from a network share

$
0
0

Hello all:

I am experiencing a rather strange issue.  I am creating a script that copies a file from a network share.  I am using Adera's Powershell Plus.  My path is "\\server.company.com\E$\Software\Code\file.zip"  I am able to get to the share with no problem using Powershell Plus, however when I run the script via the shell, I get a message stating Copy-Item : Cannot find path '\\server.company.com\E$\Software\Code\file.zip' because it does not exist.

Has anyone experienced this issue before?  I also used the shared UNC of \\server.company.com\Software\Code\file.zip which also works in the editor, but not in the shell.If anyone could shed light on this that would be greatly appreciated.

Thanks,

jocasio


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>