Question Locked

Remotely Set DNS using Netsh

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to change the static DNS entries on numerous remote PC's on our network.
I have tried the netsh command with -r option but I dont seem to be getting the syntex correct?
Does anyone know the proper syntex for this operation(for a remote change).
I can get the DNS to change locally.
Any help would be greatly appreciated.

2 replies

by amrishpatel54

wmic /node: %RemotePC% process call create "netsh interface ip set dns local static %NewDNS%"

This discussion is closed to new replies.