我想将文件夹复制到局域网上的一系列计算机上。以下是我迄今为止:将文件夹复制到局域网上的一系列计算机
$Computers = "Get-Content C:\Scripts\computers.txt"
$Source = "C:\Install\9_10_00_08HotFix_201504140001"
$Destination = "\\192.168.6.$\c$\Install"
ForEach-Object {
Copy-Item -Path $Source -Recurse -Destination $Destination -Verbose -Force -ErrorAction SilentlyContinue
}
什么不行?你遇到了什么错误? – JAL