On Windows, I want to make a script that can change the networking configuration including:

  1. IP Address
  2. Subnet
  3. Gateway
  4. DNS1 and DNS2

Is it possible for the script to also query the gateway to be able to calculate the most appropriate values to use?

add a comment

0 Answers

  • Votes
  • Oldest
  • Latest