Skip to content

Instantly share code, notes, and snippets.

@andylshort
Created March 23, 2018 22:24
Show Gist options
  • Save andylshort/48ee3c1995064b6d3773c9e50f119a96 to your computer and use it in GitHub Desktop.
Save andylshort/48ee3c1995064b6d3773c9e50f119a96 to your computer and use it in GitHub Desktop.
Clear the contents of the Temp folder in Windows (recursive)
Get-ChildItem $env:TEMP -Recurse | Remove-Item -Force -Recurse -WhatIf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment