Get-ChildItem -Path 'PATHOFROOTDIRECTORY' | foreach { Get-ChildItem -Path "$($_.FullName)" -ErrorAction Ignore | Remove-Item -Force -Recurse }
Last updated 4 years ago
Was this helpful?