Skip to content

Sajal Choudhary

Garden Stream Nordletter Books About
Colophon Now Feeds
Evergreen TIL Shelf Stories Poems
Blog Micro Photos
Books Film TV Games
til powershell
Sajal Choudhary https://sajalchoudhary.net

Delete Everything Under a Folder Powershell

POWERSHELL
Get-ChildItem -Path C:\Temp -Include *.* -File -Recurse | foreach { $_.Delete()}

references:

windows - Delete all files from a folder and its sub folders - Super User

Updated December 2, 2024 at 11:10 . Thoughts? Email me.
Posted to:
Bluesky Mastodon
About Colophon Now Evergreen TIL Stories Poems Photos Bookshelf

© 2026 Sajal Choudhary

Streak New posts for 126 consecutive weeks