Friday, May 4, 2018

DHCPServerTip: Enable/Disable all scopes on DHCP Server

To Deactivate/Disable all IPv4 Scopes on DHCP server you may use PowerShell Command:

[PS] Get-DhcpServerv4Scope | Set-DhcpServerv4Scope -State Inactive



To Activate/Enable all IPv4 Scopes on DHCP server:

[PS] Get-DhcpServerv4Scope | Set-DhcpServerv4Scope -State Active



To view all IPv4 Scopes on DHCP server

[PS] Get-DhcpServerv4Scope -ComputerName <DHCP-ServerName>


No comments:

Post a Comment