Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to check DefDates

Status
Not open for further replies.

kickballmvp2006

Technical User
Jan 4, 2007
30
US
I would like to make a script that I can run from my PC that would go out to my SAV servers (that run v9) and tell me what the servers defdate information (CurDefs and LastDefs in particular) is.

Does anybody have one that will do this?
 
Figured it out.

After "Googling" around, I came up with a solution. I'll explain so that hopefully it helps somebody else out in the future. On your SAV server should be a definfo.dat file which list your Current Defs and Last Defs of the server. We have two SAV servers. So I created a batch script that will go out to the servers and pipe the data from those two files into one file. I set up a scheduled task on one of my servers that will trigger this script to run once a night. Then I just put a shortcut on my PC to the text file it generates so I can view the output. this is helpful in big ways. One, it let's me (and other people) to compare the def dates on both servers to ensure they both match. Two, I can go to the Symantec website with those dates to verify they match what is current.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top