Rekursiv alle leeren Ordner löschen via PowerShell
Get-ChildItem 'C:\Ordner' -Recurse -Directory | Where-Object {[System.IO.Directory]::GetFileSystemEntries($_.FullName).Count -eq 0} | ForEach-Object {$_.FullName} | Remove-Item
Get-ChildItem 'C:\Ordner' -Recurse -Directory | Where-Object {[System.IO.Directory]::GetFileSystemEntries($_.FullName).Count -eq 0} | ForEach-Object {$_.FullName} | Remove-Item