question

DucheminDominique-7551 avatar image
0 Votes"
DucheminDominique-7551 asked DucheminDominique-7551 edited

WINS IP Change

Hello,

I am looking for a POWERSHELL script to change the WINS IP on all servers.
I saw the some directions with:

$NICs = Get-WMIObject Win32_NetworkAdapterConfiguration | Where-Object {$_.IPEnabled -eq "True"}

Foreach($NIC in $NICs) {

$WINSServers = “WINS server IP1","WINS server IP2”

$NIC.SetWINSServer("10.36.158.78", "10.16.102.142")

}

But not sure of the next lines...

Thanks,
Dom

windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers