I am trying to dump out the basic DHCP scope information using the following command:
netsh dhcp server \\DHCPSERVERNAME show scope
the problem I am having is that my scope names and descriptions have - in the names and are long, for example
US-TX-Austin-OPC-MainOffice
when I run the command, this is what I get for the scope name
-US-TX-Austin-OPC-Main
and this is what I get for description
-US-TX-Austin-O
I have also tried the Powershell Module for DHCP (not the 2012 version since I dont have a 2012 server or Win8 client) with the below command
Get-DHCPScope -Server "DHCPServerFQDN"
I get the following
Name : USDescription : TX
I really need a way to dump this information with the full name and descriptions.