I have a question here.. on powershell Script

Do anyone help me in providing a powershell command line to copy and replace the contents between the two folders with same names?

1 Comment   [ + ] Show comment
  • Hi,

    Copy-Item -path $source -Destination $destination -recurse -force - egiberne 1 year ago

Answers (1)

Posted by: rileyz 1 year ago
Red Belt

You don't have to do everything in PowerShell, there are betters tools out there. Robocopy is baked into Windows btw.


Take care when using robocopy, it can delete files as well!

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ