Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Source = "\\server1\share1"
- $Dest = "I:\Shares\share1"
- $LogPath = "I:\"
- $Date = Get-Date -format "dd-MM-yyyy"
- $LogName = "Robocopylog-share1_$Date.txt"
- robocopy $Source $Dest /MIR /COPYALL /R:3 /W:10 /ZB /MT:64 /NP /LOG:$LogPath$LogName
Advertisement
Add Comment
Please, Sign In to add comment