Загрузка данных


$targetFolder = "D:\94"
Get-ChildItem -Path $targetFolder -Directory | ForEach-Object {
    Get-ChildItem -Path $_.FullName -File | Move-Item -Destination $targetFolder -Force
    Remove-Item -Path $_.FullName -Force -Recurse
}