Re: WMI detect IP address conflict
- From: Gerry Hickman <gerry666uk@xxxxxxxxxxxxxxxx>
- Date: Tue, 06 May 2008 21:52:25 +0100
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)
.
- Follow-Ups:
- Re: WMI detect IP address conflict
- From: none
- Re: WMI detect IP address conflict
- Prev by Date: Re: JScript, GetSecurityDescriptor, an Array of DACLs but no length Property.....
- Next by Date: Re: Schema Query - Top Level Classes Only
- Previous by thread: Re: JScript, GetSecurityDescriptor, an Array of DACLs but no length Property.....
- Next by thread: Re: WMI detect IP address conflict
- Index(es):
Relevant Pages
|