remove file/directory powershell code example
Example 1: powershell delete all files with specific extension in sub directories
Get-ChildItem * -Include *.csv -Recurse | Remove-Item
Example 2: powershell delete folder
Remove-Item 'D:\temp\Test Folder1'