Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Changing DNS servers in static configuration

$
0
0

Ah! That got me on the right road. I actually had to add the line

$newDNS = $DNS.Split(" ") | Where-Object {$_ -ne $removeAddress}

to the script since it was taking $DNS as just one string and not splitting it apart. Perfect! Thank you!


Viewing all articles
Browse latest Browse all 13067

Trending Articles