powershell remove file types code example
Example 1: powershell remove folder and contents
Remove-Item -LiteralPath "foldertodelete" -Force -Recurse
Example 2: powershell delete all files with specific extension in sub directories
Get-ChildItem * -Include *.csv -Recurse | Remove-Item