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

Powershell multiple copy jobs starts simultanously

$
0
0

I have 4 html folders where the files are renewed and then the folder is copied around to some different locations.

What I have done so fare is this:

4 lines "copy-item UNC-PATH -recurse -destination UNC-path -force -verbose"

This means that every copy-job starts when the other is finished and it takes a lot of time to finish.

I would like to reduce the time for the copy job to finish.

What I would like to do is a copy job that starts these 4 jobs simultanously.

How can this be possible?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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