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

Solution 1:

Try:

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