Robocopy PowerShell script
Hello,
I recently struggled with working out a way to display a progress bar and I am hoping my hardship is useful to someone else, so I am posting my script here.
https://github.com/Ninjigen/PowerShell/blob/master/Robocopy/Start-Robocopy.ps1
Since I have a limited environment to test the module, I would appreciate any feedback.
BTW, as mentioned in the readme, this is not my idea. This is a linted/rewritten version of Keith S. Garner ([email protected]) script. He explains in details how the script works in his blog post over here : https://keithga.wordpress.com/2014/06/23/copy-itemwithprogress
Also credits to Trevor Sullivan who had the original idea, as posted in this stackoverflow thread : https://stackoverflow.com/questions/13883404/custom-robocopy-progress-bar-in-powershell
His module is demonstrated in the following Youtube video : http://www.youtube.com/watch?v=z9KeYa842rc
I merely worked out a few bugs and tried to add most robocopy options into the Param block. Of course I welcome any criticism, feedback or bug report. I am expecting some bugs when using an exotic (Chineese or Japaneese for instance) windows OS, since Robocopy does seem to have a different output in those cases.
Posted Jan 8, 2018, 6:34 PM UTC