Re: WMI detect IP address conflict

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

Ideally, I wanted to write a script that ran once a day (or on demand) to walk all of the servers in our enterpise. While the script walked all servers it would log an error for any server that experienced an IP address conflict during the day.

If this is happening once a day, you should really sack who ever is in charge of assigning the IP addresses.

I really havent found a good way to do this - other then using FindWindow() for the IP adddress conflict window name (which is kind of a hack)...

You could use WMI to query Event logs for this error. You can set the query to only look at the last five days (or so), otherwise the query might take some time to run (like 20 seconds or more).

--
Gerry Hickman (London UK)
.



Relevant Pages

  • Re: How to combine existing collections to include or exclude...
    ... "Matthew Hudson" wrote: ... Servers you want minus the ones you don't want ... [edit query statement/Criteria] ... Add computers you don't want to show up in Collection B ...
    (microsoft.public.sms.admin)
  • RE: How to combine existing collections to include or exclude...
    ... "Matthew Hudson" wrote: ... Servers you want minus the ones you don't want ... Add computers you don't want to show up in Collection B ... will see if I can't just send you the collection queries and the query ...
    (microsoft.public.sms.admin)
  • Re: router causing strange DNS behaviour?
    ... These cobbled together ISP networks can ... Initial query took about 4.5 secs ... Rogers is a Canadian ISP, and their name servers should have ...
    (comp.os.linux.networking)
  • Re: Boolean query algorithms
    ... Does that mean the query is broken up into 2 processes that are ... also my question relates to how said queries be them sql ... Google use 'chunck servers'. ... any of the 10 chunck servers that hold each chunk of data. ...
    (alt.internet.search-engines)
  • What would cause the web part connections menu to disappear?
    ... the object model to query a list, and then renders the results of the ... query into form elements. ... Both servers are using the same config files (with trust level set at ...
    (microsoft.public.sharepoint.windowsservices)