Dalle on Twitter
Posts by
-
-
Recent Posts
Recent Comments
Archives
- March 2012
- January 2012
- December 2011
- November 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- June 2008
- April 2007
- June 2006
Categories
Deployment
PowerShell
Security
Tag Archives: Clean-Temp
Clean-Temp
In my last post I showed you how to create 2000 files in the temp folder. If you want to delete them fast you can use my function Clean-Temp. I have been writing about it before. And now It’s updated … Continue reading
Clean Temp Function (Updated)
This is a small but effective function. It will delete most of the stuff in your temp dir. Use with close option to close all open programs before you clean the temp dir. It will not delete open/locked files. … Continue reading
Clean-Temp function
I’m working on some functions that can help when working with installation and MSI files. This one is the first one. function Clean-Temp { $myTemp = "$Env:temp" get-Childitem $myTemp | remove-Item -recurse -force } This function deletes everything in the … Continue reading
Posted in PowerShell Blogs
Tagged Clean-Temp, installation, MSI, PowerShell Blogs, temp
Leave a comment