# Deleting

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

Updated: November 10, 2026

1. [Deleting Safely: Remove-Item, -WhatIf and -Confirm](https://www.ask-codey.com/lessons/powershell-deleting-safely) (Novice): 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.

Source: https://www.ask-codey.com/courses/powershell-in-depth/topics/powershell-deleting
