Create script to copy and remplace one file, if the destination file exist, the destination file will be rewrite without any confirmation.
$Origen = "\\nas03\c$\tmp\file.txt"
$Destino = "\\nas02\d$\tmp\"
Copy-Item -Path $Origen -Destination $Destino -Recurse -force
Check at Windows 2012R2 & W10
by GoN | Published: May 9, 2018 | Last Updated: