robocopy and powershell RRS feed

  • Question

  • I am using power shell (yea I am learning slowly)

    I need to robocopy a large amount of files and Robocopy worked fine.

    Where I am stuck and can’t find a answer from Google is.

    Below is the command I am using

    robocopy /IPG:$vpn c:\mount\ \\$computername\c$\mount\ /Z /MIR /r:0 /w:0 /TEE /LOG:c:\temp\robologNewSMSDP.txt

    However if even one file is missed i need to prefome other functions so in batch I add the below line


                    Do my actions


    What is the equal in power shell? And does Robocopy still have error levels when ran from power shell?

    Thanks in advance

    R White

    Tuesday, July 24, 2012 8:01 PM


All replies