how to delete a folder in windows 10 that won't delete in powershell code example Example: powershell delete folder Remove-Item 'D:\temp\Test Folder1'