powershell remove all files in directory 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