/build/static/layout/Breadcrumb_cap_w.png

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,
    Maybe

    Copy-Item -path $source -Destination $destination -recurse -force - egiberne 11 months ago

Answers (1)

Posted by: rileyz 11 months ago
Red Belt
1

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

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

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