我正在使用Powershell并且我试图强制复制文件夹/文件而不删除现有目标文件夹中的任何额外文件.我被困在试图得到一个有效的命令.
以下是我的代码,有关如何解决此问题的任何建议?
Copy-Item -Force -Recurse –Verbose $releaseDirectory -Destination $sitePath
powershell
powershell ×1