Script Request

  • Thread starter Thread starter Dan Andryszak
  • Start date Start date
D

Dan Andryszak

I looking for a method to query a remote server / machine
to do the following:

Verify if the server is using DHCP or static IP address
Determine what IP addresses are using the the name server
entries (DNS and / or WINS) and possibly change those
settings.

Any help would be appreciated.
 
Verify if the server is using DHCP or static IP address

psexec \\servername ipconfig /all
Determine what IP addresses are using the the name server
entries (DNS and / or WINS) and possibly change those
settings.

netsh -r Servername exec settings.txt

Ciao, Walter

PS: psexec is part of PSTOOLS and will be found at
www.sysinternals.com
PPS: search for NETSH and WINS in www.google.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top