Simple question: Can I avoid using NETSH in Windows Server 2008 R2 and instead use PowerShell CmdLets to manipulate things like HTTP?
If so, what are some CmdLets to get me started and are they part of some extra module?
Simple question: Can I avoid using NETSH in Windows Server 2008 R2 and instead use PowerShell CmdLets to manipulate things like HTTP?
If so, what are some CmdLets to get me started and are they part of some extra module?
powershell is running on top of .NET so you should be able to do whatever you want with http for example here is a simple RSS function :
here is an other example in pure PS to change the network card settings :
There's a NetAdapter module in Powershell 3.0 which appears to cover the functionality of netsh, however the module only ships with Windows 8 or Windows Server 2012, so you're still stuck with netsh or CIM/WMI on Windows Server 2008 R2.
Although unrelated to netsh question, version 3 added an invoke-webrequest cmdlet which is includes in 2008 R2 and Windows 7.