Rem: Activating DHCP Server Scopes
You can’t use WMI to activate DHCP server scopes, but you can use the Netsh command.
September 12, 2004
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.
About the Author
You May Also Like