Just been caught out by a module name change in WMF 5.0
The NetworkSwitch module has been renamed to NetworkSwitchManager. Still has the same functionality
Disable-NetworkSwitchEthernetPort
Disable-NetworkSwitchFeature
Disable-NetworkSwitchVlan
Enable-NetworkSwitchEthernetPort
Enable-NetworkSwitchFeature
Enable-NetworkSwitchVlan
Get-NetworkSwitchEthernetPort
Get-NetworkSwitchFeature
Get-NetworkSwitchGlobalData
Get-NetworkSwitchVlan
New-NetworkSwitchVlan
Remove-NetworkSwitchEthernetPortIPAddress
Remove-NetworkSwitchVlan
Restore-NetworkSwitchConfiguration
Save-NetworkSwitchConfiguration
Set-NetworkSwitchEthernetPortIPAddress
Set-NetworkSwitchPortMode
Set-NetworkSwitchPortProperty
Set-NetworkSwitchVlanProperty
One of these days I should read the realease notes