When first time run Copy-Item "\\server1\c$\apps\folder1" "\\server2\c$\apps\" -recurse -force
the folder1 is copied in \\server2\c$\apps\
When run the same script above again,
the folder1 is copied in \\server2\c$\apps\folder1\
My propose is to copy and override. Is there a way to do it without adding more commands? Thanks