Sha256: ab5ef8aa8730408b4b10d91f841c86dae2e4ceaf71005c08cb7137ceab41466f
Contents?: true
Size: 315 Bytes
Versions: 37
Compression:
Stored size: 315 Bytes
Contents
if ((!(Get-DnsClientServerAddress| where-object {$_.InterfaceAlias -like "Ethernet*" -and $_.ServerAddresses -contains '<%= @dc_ips[0] %>' -and $_.ServerAddresses -contains '<%= @dc_ips[1] %>'}))) { Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses <%= @dc_ips.join(", ") %> Restart-Computer -Force }
Version data entries
37 entries across 37 versions & 1 rubygems