Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

PowerShell script to replace only primary DNS IP address on mutiple servers

$
0
0

Hi,

i have 500+ servers in our network. They all are configured with two DNS server IP,

Primary DNS IP: 10.10.10.1

Secondary DNS IP: 10.10.10.2

Now, we have bring up the new DNS server 10.10.10.3 and going to decommissioned old DNS 10.10.10.1. Please suggest the powershell script to replace only primary DNS IP with new one. Secondary dns ip should be intact.

I found script but they all did changes for all dns IP not for single DNS IP.

Thanks,

Suhag.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>