powershell delete all files with extension 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