Is it 2008? If so, you can attach a task to the event via the eventvwr interface; if it's 2003, you can use eventtriggers to do it. It's self-explanatory in 08; here's a good article about 03...
http://www.computerperformance.co.uk/Logon/VBScript/eventtriggers.htm *********************** Charlie Kaiser charl...@golden-eagle.org Kingman, AZ *********************** > -----Original Message----- > From: Okan Bostan [mailto:bosta...@itu.edu.tr] > Sent: Thursday, July 30, 2009 5:37 AM > To: NT System Admin Issues > Subject: DHCP scope usage alert vbs, without MOM > > Hi List, > > > > I want to write a script that will e-mail me if there is no > free IP addresses on one of the scopes. I googled it but I > can't find good solutions. > > One way is to use netsh "show mibinfo. This command gives all > the usage about the scopes,but I need to parse it from a file. > > > > We all know DHCP server already checks the usage of scope > and creates an event log if the scope is full, I want to > modify this trigger so I can edit and mail the situation. > > > > Any suggestions? > > > > Thanks. > > > > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~