remove folder powershell 2013 code example Example: powershell remove folder and contents Remove-Item -LiteralPath "foldertodelete" -Force -Recurse