how to delete a folder in windows powershell - Google Search

PHOTO EMBED

Fri Sep 08 2023 15:11:09 GMT+0000 (Coordinated Universal Time)

Saved by @TheHutt #shell

#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"
content_copyCOPY

https://www.google.com/search?q