Script for dumping DHCP subnet scope options

Here’s simple script I’ve put together as I was in need of one that dumps the DHCP subnet scope options into a text file. The script first queries the DHCP servers it can find and then dumps the scope options of each subnet it finds on each DHCP server. Copy the below code and save it as dhcpsubnetscopeoptions.cmd @echo off echo %date% %time% >%~dp0\dhcpsubnetscopeoptions.txt echo —————————————————————– >>%~dp0\dhcpscopeoptions.txt Echo Dumping DHCP Subnet Scope options for /f Read More …