powershell delete all files in folder and subfolders code example
Example: powershell delete all files with specific extension in sub directories
Get-ChildItem * -Include *.csv -Recurse | Remove-Item
Get-ChildItem * -Include *.csv -Recurse | Remove-Item