robocopy "F:\frank plunkett\OneDrive" "c:\old hdd" /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE robocopy "J:\Fnee HFS\Swap\Office\old" "J:\Fnee HFS\Swap\mas\old" /E /ZB /MOVE /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE shutdown /m \\SERVER /s /f /t 0 powershell.exe -Command "Stop-VM -Name VMName -Force" if unresponsive powershell.exe -Command "Start-VM -Name VMName" :loop timeout 5 >nul ping remote.afasterpc.com -n 1 -w 00 |find "TTL=" >nul if %errorlevel%==0 goto :loop REM if not errorlevel 1 goto :loop timeout 10 >nul start "power cycle vm.bat" exit