Login | |
|
 |
RE: LDAP - How to list all DHCP scopes on a Server - 8/4/2007 2:00:26 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1194
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Yucko. Dealing with configuring DHCP via script is always messy/ugly. You could try using netsh... You might also give DHCPCMD a try...
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: LDAP - How to list all DHCP scopes on a Server - 8/6/2007 7:09:20 AM
|
|
 |
|
| |
mcds99
Posts: 441
Score: 4
Joined: 2/28/2006
Status: offline
|
FYI stay with NetSH for DHCP stuff, DNS is integrated but DHCP is not ... doen well. I have a bunch of scripts I use for looking at leases, scopes, and other fun stuff. If you're interested I'll post them.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: LDAP - How to list all DHCP scopes on a Server - 8/6/2007 7:32:47 AM
|
|
 |
|
| |
mcds99
Posts: 441
Score: 4
Joined: 2/28/2006
Status: offline
|
I forgot to tell you one important bit of information. You will need the dhcpmon.dll helper added to netsh. I believe it is in the adminpak. the command to install it is... netsh add helper dhcpmon.dll
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: LDAP - How to list all DHCP scopes on a Server - 8/9/2007 5:58:51 AM
|
|
 |
|
| |
mcds99
Posts: 441
Score: 4
Joined: 2/28/2006
Status: offline
|
Just don't use it to add anything. You may need to do some math in your scripts to get the % of scope utilization. I'm off to a meeting.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
|
|