DHCP Scope Listing

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Forums Archives Forums Archives 5 years, 5 months ago.

  • Author
    Posts
  • #6166

    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

You must be logged in to reply to this topic.