change make remove directory powershell code example Example: powershell delete folder Remove-Item 'D:\temp\Test Folder1'