Forum Discussion
warfery
May 23, 2025Copper Contributor
Copy-Item -Recurse bug
We are copying files using the Copy-Item cmdlet from a local disk to a remote disk. The source folder contains around 900 files in numerous subdirectories.
Copy-Item -Path "build\image\*" -Destination $output_path -Recurse -Verbose
Get-Command Copy-Item | Select-Object Name, Version
Name Version
---- -------
Copy-Item 3.1.0.0
1 Reply
Sort By
Any difference with and without the * ?