copy-item不在远程目的地保留文件名或扩展名。我以为copy-item会按原样复制文件?剧本:copy-item C:\TEMP\installation.msi -Destination Q-Destination Q:\Temp\installation.msinet use Q: /deleteCopy-Item : Could not find a partAt P
$dir = Read-Host 'Please enter the letter drive to backup user folder.'Copy-Item : Access to the path 'C:\Users\admin\Documents\My Music' is denied.At C:\Users\admin\Desktop\Untitled1.ps1:2 char:10
+ copy-ite