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

Copy files from CSV file

$
0
0

HI,

I'm new in PS and i need to copy list of files from Column A to Column B.

i was trying:

Import-Csv .\PS.csv | foreach {copy-item $_.SOURCE $_.TARGET}.

the SOURCE is located on my NFS  where i hae full access and i can also list the files however i can not copy the files to my local PC.



Viewing all articles
Browse latest Browse all 15028

Trending Articles



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