Scope Name

Anyone know how I would get the DHCP scope name? I can get the scopeid but I’d like what the scope is named in the DHCP server.

Get-DhcpServerv4Scope -ComputerName srv1 should get you the scope name. If you do Get-DhcpServerv4Scope |Get-Member this will return all of the properties of the Cmdlet.

Get-DhcpServerv4Scope -ComputerName srv1 |Select-Object -Property Name

pwshliquori

This gives me the scope ID but not what the name is in the DHCP. The ID is the beginning range, while the name is a word or two that describes what the scope is used for in the DHCP.