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
 
Back
Top