Changed from iterating Get-ChildItem to using Copy-Item with wildcard
This ensures proper recursive copying of all files and subdirectories
Before: Get-ChildItem | ForEach-Object { Copy-Item ... }
After: Copy-Item -Path "$Source\*" -Destination $Destination -Recurse
This prevents issues where nested directories aren't copied correctly.
Co-Authored-By: Claude <noreply@anthropic.com>
20 KiB
20 KiB