Thursday, March 1, 2012

Clean Disk Space using PowerShell.


Hi,

I wrote a simple PowerShell script which helps us to clean some of the disk space for us. This script wrote primarily for LENOVO laptops but can tweak it as per your requirements.

This Script does the following tasks:

  • ·         Clean users TEMP folder
  • ·         Empty Recycle Bin
  • ·         Empty SWTOOL Folder {mainly in Lenovo laptops}
  • ·         Empty Windows TEMP Folder
  • ·         Run Windows  Disk Cleanup Tool.


I hope that you like this tiny script J


Thanks
Aman Dhally

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.