# Deleting Safely: Remove-Item, -WhatIf and -Confirm

Remove-Item deletes files and folders with no Recycle Bin to catch them, so you rehearse a delete with -WhatIf, approve each item with -Confirm, and add -Recurse only for a folder you've looked inside.

![Cheat sheet for the lesson Deleting Safely: Remove-Item, -WhatIf and -Confirm: Remove-Item deletes files and folders with no Recycle Bin to catch them, so you rehearse a delete with -WhatIf, approve each item with -Confirm, and add -Recurse only for a folder you've looked inside.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/bd0694a0dc1f49fd938c0fbdeaf0052e.webp)

- Category: PowerShell
- Level: Novice
- Tags: operating-system, powershell, recycle-bin, remove-item, whatif-and-confirm
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-deleting-safely-cheat-sheet
