Rem: Activating DHCP Server Scopes

You can’t use WMI to activate DHCP server scopes, but you can use the Netsh command.

Bob Wells

September 12, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Can I use Windows Management Instrumentation (WMI) to activate DHCP server scopes remotely? If so, how?

No, you can't use WMI to activate DHCP server scopes. WMI doesn't currently expose or let you manage DHCP server configuration and state information. However, you can use the Netsh command to remotely manage your DHCP servers, including activating DHCP server scopes. For information about Netsh and a sample batch file, see the Netsh DHCP example topic in the Windows Server 2003 documentation. You can access the content online at http://www.microsoft.com/resources/documentation/windowsserv/2003/enterprise/proddocs/en-us/netsh_dhcp_example.asp.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like