Benutzer mit den meisten Antworten
[ Power Shell ] -- Get DHCP Scopes and Scope Options

Frage
-
Hello everyone!
I would like to make an export from all DHCP Scopes and with their Scope Options.
But i cant find any clue how to do that. (And yeah.. i was searching for mor then 10minutes on the internet for it)
all i could found was the neth function. But the output from this function isnt good at all!
Does anyone know how to script a query an export all DHCP Scopes with their Scope Options to a .txt File (or something else, doesnt matter)
it realy would be great! =)
Thank you
C. Kaiser
Antworten
-
> And yeah.. i was searching for mor then 10minutes on the internet for it
You did? :) And yet i found tons of promising sites in under 5 seconds. :)
Anyway, take a look here and here . Ah, and here (this one should be the most promising to get all the options as well.) That should get you started. If you have any additional questions or problems, please post them here.
Denniver
- Als Antwort vorgeschlagen Denniver ReiningMVP, Moderator Mittwoch, 26. Januar 2011 12:13
- Als Antwort markiert Andrei TalmaciuModerator Freitag, 28. Januar 2011 09:17
-
Hello,
it's very simply without powershell:
netsh dhcp server \\server dump > DHCP-Master.txt
and for restore: netsh exec <file.txt>
Armin
- Als Antwort markiert Andrei TalmaciuModerator Freitag, 28. Januar 2011 09:17
Alle Antworten
-
> And yeah.. i was searching for mor then 10minutes on the internet for it
You did? :) And yet i found tons of promising sites in under 5 seconds. :)
Anyway, take a look here and here . Ah, and here (this one should be the most promising to get all the options as well.) That should get you started. If you have any additional questions or problems, please post them here.
Denniver
- Als Antwort vorgeschlagen Denniver ReiningMVP, Moderator Mittwoch, 26. Januar 2011 12:13
- Als Antwort markiert Andrei TalmaciuModerator Freitag, 28. Januar 2011 09:17
-
Hello,
it's very simply without powershell:
netsh dhcp server \\server dump > DHCP-Master.txt
and for restore: netsh exec <file.txt>
Armin
- Als Antwort markiert Andrei TalmaciuModerator Freitag, 28. Januar 2011 09:17