Getting DHCP Scope Options using Powershell 2.0

935 Views Asked by At

I need to get the DHCP scope option values using Powershell 2.0 on Windows Server 2003 R2 SP2. I don't have access to the Get-DhcpServerv4OptionValue commandlet since that's only available on Windows Server 2012 R2.

How can I get the DHCP scope option values without using the Get-Dhcp commandlets?

1

There are 1 best solutions below

0
BenH On

You may do this via WMI or use net.exe and then parse the text in PowerShell where needed