header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
use PS to update static IP address across multiple computers
Last Post 12 Aug 2010 07:45 AM by clay5051. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
clay5051User is Offline
New Member
New Member
Posts:9
Avatar

--
11 Aug 2010 11:53 AM
    hi there, I'm planning to write a powershell script that will update the IP, Gateway, DNS, and Subnet mask of multiple servers in our windows environment.  My preference would be to launch the script from a single location and using WMI..to go out and make the updates to the remote servers instead of logging into each server and making the update.

    This is sort of not a Powershell question but I thought I would throw it out here on the forum:

    One major concern I have is that when I connect from ServerA to serverB to update the network configuration on ServerB, I will kick myself off the server before I complete the change.  Is there a way I can make those network configuration updates before being kicked off of the server because the IP address has changed?

    PoSherLifeUser is Offline
    Basic Member
    Basic Member
    Posts:364
    Avatar

    --
    11 Aug 2010 12:14 PM
    what i've done is have the script create a local file on the remote server, then kick that off through a scheduled task. make sure that part of what you do is to force the server to re-register itself to the DNS servers.
    When at first you don't succeed Step-Into

    http://theposherlife.blogspot.com
    http://www.jandctravels.com

    clay5051User is Offline
    New Member
    New Member
    Posts:9
    Avatar

    --
    12 Aug 2010 07:45 AM
    thanks for the information. I need to update 30+ servers. I might look to C# and place an executable on each server to perform the update.
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer