Thanks for your reply. This command will not provide me complete address lease details. I want to export the 'Address Leases' branch under the 'Scope'. The data under 'Address Leases' needs to be exported to a text file every 4 hours. Please advice.
Thanks
On Oct 10, 11:52 am, Masterplan <winmasterp...[ at ]gmail.com.> wrote:
[Quoted Text] > Hi, > > You can run a batch script with this command: > netsh dhcp server DHCP_SERVER_IP scope SCOPE_IP dump > c:\test.txt > For additional information about netsh, see here: http://technet.microsoft..com/en-us/library/cc778925.aspx> > -- > Have a nice day! > > http://winmasterplan.blogspot.com> > "rushtosri" wrote: > > Folks, > > > I'm new to scripting. I'm trying to write a script that can export > > dhcp IP reservations from multiple scopes to a text file every 4 > > hours. I would appreciate if someone can help me with the logic or the > > script (if you have it already). > > > Thanks in advance. > > > Cheers!! > > Sridhar.
|