windows powershell commands to delete * folder with name code example Example: powershell delete folder Remove-Item 'D:\temp\Test Folder1'