Have a look at using WMI class Win32_NetworkAdapterConfiguration class
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog:
http://richardsiddaway.spaces.live.com/
PowerShell User Group:
http://www.get-psuguk.org.uk
"Doc" wrote:
> I'd like to change the default gateway for more than a few remote
> workstations with powershell, is there a netsh like command for this? Any
> help would be great I'm kinda noobish with PS