#Remove the directory without confirmation Remove-Item -LiteralPath "foldertodelete" -Force -Recurse #Remove the directory with confirmation Remove-Item -Path "foldertodelete" #without using powershell rmdir "Path/to/directory"
#Remove the directory without confirmation Remove-Item -LiteralPath "foldertodelete" -Force -Recurse #Remove the directory with confirmation Remove-Item -Path "foldertodelete" #without using powershell rmdir "Path/to/directory"