Author Posts

January 1, 2012 at 12:00 am

by aubrytj at 2012-08-21 23:17:43

Is there a powershell script that would list all DHCP servers with their corresponding DHCP Scopes?
Possibly outout to a csv...

by RichardSiddaway at 2012-08-22 02:58:52

There isn't any native support for DHCP in PowerShell prior to the DHCP cmdlets in Windows Server 2012. If I remember correctly the PowerShell Community extensions – http://www.codeplex.com/site/search?que ... sions&ac=2 – has a cmdlet to get DHCP servers but don't think that extends to scopes.

There is a PowerShell module for DHCP – http://gallery.technet.microsoft.com/sc ... 41ff6c04ec.

Hope this helps. If you need help puuting the script together please come back to us