📅  最后修改于: 2022-03-11 14:49:39.152000             🧑  作者: Mango
# List all the folders in Banana
$folders = Get-ChildItem C:\Banana
foreach ($folder in $folders.name){
#For each folder in C:\banana, copy folder c:\copyme and it's content to c:\banana\$folder
Copy-Item -Path "C:\copyme" -Destination "C:\banana\$folder" -Recurse
}