Verify Robocopy Operation
15:08 07 Aug 2014

I want to run a scheduled script after running a Robocopy Script, which moves files between remote servers.

The requirement of this script is that, it will check whether the Robocopy script has successfully completed its operation of copying from Source Directory to Destination Directory.

If yes, then this script will purge files and folders from Source Directory .

My question is how to find out whether the Robocopy script which was run before has successfully done its job ?

powershell powershell-3.0 robocopy