June 24th, 2004, 07:47 PM
DHCP server scope
Is there a way to enumerate the dhcp scope remotely ? or better way to get all the ips/computernames on a local server w2k/3 (batch vbs exe)?
June 24th, 2004, 08:13 PM
Here ya go.. You should bookmark this reference page as it has all of the resource kit and built in OS CLI commands with all of their syntax.
Using DHCP commands in scripts-
June 24th, 2004, 08:15 PM
The only way to get the information you are looking for is to access the dhcp database found in %systemroot%\system32\dhcp.
As for enumerating the scope and the leases good luck, it could take days for you to have the information if you were able to sniff the entire network. It will then take you weeks to determie which IP are reserved etc.
Don\'t SYN us.... We\'ll SYN you.....
\"A nation that draws too broad a difference between its scholars and its warriors will have its thinking done by cowards, and its fighting done by fools.\" - Thucydides
June 24th, 2004, 09:20 PM
Thanx mohaughn thats a good place to start