Skip to content

Instantly share code, notes, and snippets.

@whoo24
Created April 26, 2017 04:03
Show Gist options
  • Save whoo24/c1488f4c4b9c7aa286e959b376d3826a to your computer and use it in GitHub Desktop.
Save whoo24/c1488f4c4b9c7aa286e959b376d3826a to your computer and use it in GitHub Desktop.
$BaseDir = ""
$TargetDirName = "Tmp"
Get-ChildItem $BaseDir -Include $TargetDirName -Recurse | ForEach ($_) { Remove-Item $_.fullname -Force -Recurse }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment