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

Run multiple robocopy jobs in parralel and view streaming results from background jobs

$
0
0
hi all

I have to launch parallel jobs 120 copies of a central server with powershell remote sites.

headquarters data is loaded from a csv file with the following statement

Import-Csv $file_csv | ForEach-Object {

....
...
}

then I saw the sentence start-rocobopy job to run in parallel, but not how to pass variables CSV office before each remote site

also I have to retrieve the code that returns me every robocopy, to thereby know if robocopy comado worked correctly at each site and which have failed.


regards

Microsoft Certified IT Professional Server Administrator



Viewing all articles
Browse latest Browse all 21975

Trending Articles



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