Skip to content

Instantly share code, notes, and snippets.

@nayyaung
Created September 3, 2018 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nayyaung/ef818adda61ee16ec32b5de576c70806 to your computer and use it in GitHub Desktop.
Save nayyaung/ef818adda61ee16ec32b5de576c70806 to your computer and use it in GitHub Desktop.
Delete children folders recursively on Windows using powershell 5.1
get-childitem logs -path .\ -directory -recurse | remove-item -confirm:$false -recurse -force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment