All Forums >> [Scripting] >> Post a VBScript >> Clean Servers Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
freed over 200GB of our servers C disk. Does a really good Loging! Logs: 3 separeted files, one of all deleted files, one just warnings, one for general space freed
Set parameters according to your enviroment: Checks and Deletes profiles older then X days 'Delete any (dump files) .dmp on folders c:\windows c:\windows\temp c:\windows\minidump 'Delete any temp files on folders c:\windows\temp or c:\temp older then X days 'Delete Perfmon files on folder c:\perflogs older then X days 'WARN: about any profiles larger then X mb, or C: disk with less then X free space
Requires delprof.exe from ResourceKit.
Condo here, Just the functios....
BTW: Forget IE, use Firefox
< Message edited by 4scriptmoni -- 8/21/2007 3:37:17 AM >
I am not sure why, but I have the hardest time being able to others' code in the code boxes. Most times I find either the thread is ended abruptlly with missing footer, or, in the case of this post, I cannot get all of the code. My page stops in the middle of the dumpFile function.
It could just be an IE 7 thing, but I know it's not a PC thing because I have hit this forum from multiple computers from different networks.
4scriptmoni - could you repost the code from dumpFile on?