Link to home
Start Free TrialLog in
Avatar of richsark
richsarkFlag for United States of America

asked on

How to Delete all DHCP scopes from MS 2008 DHCP

Hi,

I have imported a netsh file into my 2008 dev server. Now I want to remove them all and start blank.

I dont want to have to click one by one and select delete. It will take to long. Is there a quick way to delete all without deleted the DHCP server

Thanks
Avatar of vivigatt
vivigatt
Flag of France image

You can try to remove the dhcp server role, specifying that you also remove the data and configuration. Then reinstall the dhcp server role.
The other way around might be to use a netsh script file. Since you have the original file, changing it to delete the scopes it added might be a matter of find/replace command.
Avatar of richsark

ASKER

Great.  So what would be the command to delete the Scopes if I use find/replace ?
ASKER CERTIFIED SOLUTION
Avatar of vivigatt
vivigatt
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial