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