As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)
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.
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