As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)
Export DHCP Scope Options Value
Hi Readers,
Sharing a script that we have used to fullfil one of the requirement to extract the DNS scope option(006) values from all scopes on all dhcp servers.
First of all thx to the creator of DHCP powershell module writer.
https://gallery.technet.microsoft.com/scriptcenter/05b1d766-25a6-45cd-a0f1-8741ff6c04ec
My script is based on this module & it is included in the above download.
Just extract the script & run the batch file
we have used the value as 6 as we wanted to extract the DNS Scope option.
$idval = “6” ### DNS Scope Option
Script will show the csv out put as
Tech Wizard