I have a text file which takes the following format:
DHCP Server version 5.5
Discovers = 514.
Offers = 162.
Requests = 196.
Acks = 1249.
Naks = 4.
Declines = 0.
Releases = 1.
ServerStartTime = 01/20/2003 09:40:28.
Scopes = 1.
Subnet = 192.168.102.0.
NumAddressesInuse = 130.
NumAddressesFree = 9.
NumPendingOffers = 0.
Command successfully completed.
I want to extract the value of NumAddressesFree using VBScript in order to generate alerts when servers run low on DHCP addresses. Any pointers or help would be greatly appreciated.
Regards,
Carl
DHCP Server version 5.5
Discovers = 514.
Offers = 162.
Requests = 196.
Acks = 1249.
Naks = 4.
Declines = 0.
Releases = 1.
ServerStartTime = 01/20/2003 09:40:28.
Scopes = 1.
Subnet = 192.168.102.0.
NumAddressesInuse = 130.
NumAddressesFree = 9.
NumPendingOffers = 0.
Command successfully completed.
I want to extract the value of NumAddressesFree using VBScript in order to generate alerts when servers run low on DHCP addresses. Any pointers or help would be greatly appreciated.
Regards,
Carl