How do I change another computer's network settings from Powershell and/or .NET?
Target computers in question are in the same domain as mine and I am an administrator on all machines involved.
Any simple answers?
I found the answer.
We can create a WMI object in PowerShell representing the network settings for IP-enabled adapters on a remote server.
This object will most likely be an array of network adapter objects of which only one is needed. So we want to point to that one, probably the first object in the array:
Now we can configure whatever we want, including the IP address.
The one thing I couldn't figure out is how to determine the netmask!
Two useful links: