By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,782 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,782 IT Pros & Developers. It's quick & easy.

accessing the DHCP Server Management API

P: n/a
Hello,

I need to get a list of active leases on a windows dhcp server.

Experts from Microsoft statet:

""""
A: Go to the Address leases of each scope in the DHCP snap-in and dump
the leases to a text file from the DHCP server snap-in. The text file
gives you all the information for every active lease. You might also
want to query the DHCP server management API:
http://msdn.microsoft.com/library/de...netclients.asp.

""""
(http://www.microsoft.com/technet/com...t_05_0303.mspx)

Option A is not really an option for programmatic access :)

So my question: Has anyone accessed the DHCP Server Management API from
Python before? I googled my browser smoking with hopes that that API
might be accessible via WMI, but to no avail for me.

Any recommendation how to access this information via Python? pyDHCPSMA
anyone?

Harald

Sep 6 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.