I have successfully incorporated Write-Progress
into my scripts. When my scripts get to any portion where RoboCopy
is used Write-Progress
disappears and reappears when RoboCopy
is complete:
Write-Progress -Id 1 -Activity $arg2 -PercentComplete $i -Status $arg1
RoboCopy C:\source C:\destination /MIR
I have considered using Start-Process
to run Write-Progress
but have had limited success. Any help would be gladly appreciated.