locked
Help with Script to change IP Address RRS feed

  • Question

  • Hello,


    So I am trying to generate three scripts for three different locations. These scripts need to just change the IP address for an application config file when clicked. How would I do this?

    Thanks,

    • Moved by Bill_Stewart Monday, March 16, 2015 5:03 PM This is not "scripts on demand"
    Thursday, February 19, 2015 7:21 PM

Answers

  • You can request a script here:

    https://gallery.technet.microsoft.com/scriptcenter/site/requests

    This forum is for scripting questions rather than script requests.

    Before submitting your request, you're going to need to develop a fairly detailed specification because it's not likely that many people that might volunteer to do this for you will have the application in question.


    -- Bill Stewart [Bill_Stewart]

    • Proposed as answer by Bill_Stewart Friday, March 13, 2015 4:24 PM
    • Marked as answer by Bill_Stewart Monday, March 16, 2015 5:03 PM
    Thursday, February 19, 2015 8:34 PM

All replies

  • You could use notepad.  You could use a batch file.  You could use VBScript.  You could use PowerShell.

    With the sparse info there really is no way to know what you are asking.


    ¯\_(ツ)_/¯

    Thursday, February 19, 2015 7:49 PM
  • We as a company have 3 locations off our network. This OASIS application we use has IP Address in its config file for Meter Service and Poller. The application brings up information on that IP address. The only way right now for us to hit a different location using that OASIS application , it by opening its config file and changing the two addresses in there. Then when we launch the application it takes us to that locations information within the OASIS application. I need to write a notepad script that a user can click on that will automatically change the IP Address in that config file to  a different locations address, so when they click to open the application it opens the location that I just ran the script for.
    Thursday, February 19, 2015 8:21 PM
  • You can request a script here:

    https://gallery.technet.microsoft.com/scriptcenter/site/requests

    This forum is for scripting questions rather than script requests.

    Before submitting your request, you're going to need to develop a fairly detailed specification because it's not likely that many people that might volunteer to do this for you will have the application in question.


    -- Bill Stewart [Bill_Stewart]

    • Proposed as answer by Bill_Stewart Friday, March 13, 2015 4:24 PM
    • Marked as answer by Bill_Stewart Monday, March 16, 2015 5:03 PM
    Thursday, February 19, 2015 8:34 PM