Diskpart – Robocopy – Tail log tip

Diskpart

#Delete partition recovery !!!! warning data lost
diskpart
list disk
select disk 0
list partition
select part 3
delete partition override

Robocopy data

robocopy E:\Data D:\Data /z /e /r:3 /w:5 /np /LOG:"c:\copy-data.log" &

Tail the log of copy with powershell

 Get-Content c:\copy-data.log -Tail 20

 Get-Content c:\copy-data.log -Wait