ncomper
asked on
Script to Export DHCP settings from multiple Win 2008 DHCP servers with many scopes
Hi All
We have about 15 DHCP servers with a number of scopes, we keep finding issues where the scopes options, especially DNS servers are inconsistent.
I would like a PowerShell script that will find all DHCP servers in our domain and then get the scope options and export to a CSV.
Is this possible?
Thanks
We have about 15 DHCP servers with a number of scopes, we keep finding issues where the scopes options, especially DNS servers are inconsistent.
I would like a PowerShell script that will find all DHCP servers in our domain and then get the scope options and export to a CSV.
Is this possible?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
GaryC123: Thanks for comment.
The link contains exactly similar answer to the question raised. It is self explanatory so just posted without any comments.
The link contains exactly similar answer to the question raised. It is self explanatory so just posted without any comments.
ASKER
Hi Will
Thanks for the link, the issue is the cmdlets are only available with the powershell that comes with Win 8 / server 2012.
If you run the powershell command from one of those you can indeed query Windows 2008 R2 DHCP servers.
In my case all PC's are windows 7 and all servers are 2003 / 2008r2 so I don't have access to the cmdlets.
Thanks for the link, the issue is the cmdlets are only available with the powershell that comes with Win 8 / server 2012.
If you run the powershell command from one of those you can indeed query Windows 2008 R2 DHCP servers.
In my case all PC's are windows 7 and all servers are 2003 / 2008r2 so I don't have access to the cmdlets.
ASKER
Thanks, I just installed a window8 8 VM in the domain
ASKER