Esse código rápido e sujo ... ainda continua sendo a pasta ...
$orgLoc = "test"
$desLoc = "dest"
Copy-Item -Path $orgLoc -Destination $desLoc -Recurse
$stuff = Get-ChildItem -Path $desLoc -Recurse
foreach($thing in $stuff){
if($thing.Extension -eq ".txt"){
$newDir = $thing.DirectoryName + "\Machine1"
if(!(Test-Path $newDir)){
New-Item -Path $newDir -ItemType Directory
}
Move-Item -Path $thing.FullName -Destination $newDir
}
}