Could I limit the script by datacenters? or even better exclude on eor two datacenters?
Here is my problem.. I need to change the primary and secondary DNS server on all local ESX servers but leave branch office ESX servers alone.
Mostly they slide nicely into different datacenters but in some cases they are mixed.
local servers are all on 192.168.8-15.x subnets... and branch servers are different so I do ot wish to touch their DNS servers.
I figure I can go in manually and change the datacenters that have mixed content.. only talking about 20-30 hosts but the rest would be nice to have a script for about 170 of them.