Copy-Item copies directory as well as contents to UNC path

前端 未结 1 1608
野的像风
野的像风 2021-01-31 13:53

I\'m trying to take the contents of a folder and copy it to another using PowerShell 1.0. Pretty simple stuff and it all works fine using Copy-Item $from $to -recurse

相关标签:
1条回答
  • 2021-01-31 14:35

    Try:

    $from = "c:\temp\rhysc\*"

    0 讨论(0)
提交回复
热议问题