Hello There,
Thank you for the powershell script on
Change DNS ip addressess remotely on multiple computers
I tried it but got an error message
You cannot call a method on a null-valued expression.
At line:17 char:9
+ $change.SetDNSServerSearchOrder($DNSservers) | out-null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Could you please sort this out for me ?
Thank you
Abhishek