Hey all,
I was wondering if anyone had any luck using PowerShell to pulling reservation information from DHCP server running on Windows 2003/2008 Server?
Hi,
I guess Managing DHCP is still not supported in powershell. You can get the reservation details of DHCP server throught Netsh. Below is the example of the same.
Still you can use netsh from the powershell console to pull out the details
Eg.
netsh dhcp server \\dhcpServername dump > result.txt
Regards,Krishnahttp://smtpport25.wordpress.com
Hello Brain,
Got chance to check this ?
I still have no luck with this.
Basically we keep our reservations in DHCP and I wanted to export this information and post it on a web page.
If there is a reservation you can get a list of them after you import the module from:
http://gallery.technet.microsoft.com/scriptcenter/05b1d766-25a6-45cd-a0f1-8741ff6c04ec/view/Discussions/2
If it is a lease without a reservation you are left to netsh.