# Remove-Item

*noun*

say it: **“rih-MOOV EYE-tum”** **/rɪˈmuv ˈaɪtəm/**

A PowerShell command that deletes files and folders for good, without the Recycle Bin; -WhatIf rehearses it first.

## What does **Remove-Item** do?

`Remove-Item` deletes files and folders, and they don't go to the Recycle Bin: they're gone. Rehearse with `-WhatIf` first, or approve each one with `-Confirm`. A folder that isn't empty needs `-Recurse`, which deletes everything inside it.

```powershell
Remove-Item hallway\*.txt -WhatIf
```

## In a sentence

- “A folder that isn't empty needs -Recurse before **Remove-Item** will delete it.”
- “Sam ran **Remove-Item** with -WhatIf first, to see which files it would delete.”

Level: Novice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=1)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/remove-item
