DHCP Reservations

rated by 0 users
This post has 4 Replies | 3 Followers

Top 100 Contributor
Posts 10
Brian Scott Posted: 10-14-2009 4:44 PM

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?

Top 25 Contributor
Posts 211
Top Contributor

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,
Krishna
http://smtpport25.wordpress.com

Top 25 Contributor
Posts 211
Top Contributor

Hello Brain,

 

Got chance to check this ?

 

Regards,
Krishna
http://smtpport25.wordpress.com

Top 100 Contributor
Posts 10

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.

Not Ranked
Posts 1

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.

Page 1 of 1 (5 items) | RSS
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.