Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Copy-ItemToAzureVM: Cannot find path 'C:\testfile.txt' because it does not exist.

$
0
0

http://gallery.technet.microsoft.com/scriptcenter/Copy-a-File-to-an-Azure-VM-d2ad9e1f/view/Discussions

There are a few of us who cannot get the very simple input text file to work. Can someone provide an example of the Copy-ItemToAzureVM where the localpath parameter is specified? I am using c:\inputfile.txt and getting errors as follows. The file is there and its valid. all the other params are fine (have checked them out) such as connection, credentials, etc.

Cannot find path 'C:\testfile.txt' because it does not exist.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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