I need scripting help - TechRepublic
General discussion
June 26, 2006 at 10:04 AM
kylegeldmaker

I need scripting help

by kylegeldmaker . Updated 20 years ago

Hello all,
I am a recent graduate and I just landed my first Systems Administrator job. I have these computers that we use as data hosts for our raw data files. Needless to say that need to be defragged often so I wrote a batch file to do that, but I want to know when it runs without having to go to all of the machines to see the last time the task was run. I would like to put an operand at the end of the defrag script to write the machine name and the date and time the sript ran to a log file I created on my server. This seems possible, but I am not familiar with advanced scripting. Could someone please help me out. I have about 150 of these machines that I need to verify, I would really love to just add it to the end of the current script. Thanks for your assistance.

This discussion is locked

All Comments