VMware Cloud Community
Billho201110141
Contributor
Contributor

Setting for more than two dns server in windows

Hi All,

I have been working at the scripts in automating the DNS server update on client VMs.

I understand and know DNS can be changed using the command set-vmguestnetworkinterface, yet seems this can change no more than two dns servers in windows hosts. Therefore, I would like to ask about if any buddy has tried or know how to change the DNS server list on windows machines using the powercli. Thanks all.

0 Kudos
1 Reply
LucD
Leadership
Leadership

I'm not sure I understand the question.

The limit of only 2 DNS server is a limit of the Windows OS afaik.

The PowerCLI cmdlet to use is, like you say, the Set-VMGuestNetworkInterface cmdlet


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos