powershell delete everything in a folder code example Example: powershell delete folder Remove-Item 'D:\temp\Test Folder1'