I have been following a simple procedure to create 2 Hyper-v hosts with one ManagementOS extensible switch however when I try to add vlans to the vmnetworkadapters on the extensible switch I just continually get an error. See below
PS C:\Windows\system32> Set-VMNetworkAdapterVLAN –ManagementOS –VMNetworkAdapterName “vEthernet (Host-Parent)” -access -vlanid 59 -verbose
Set-VMNetworkAdapterVLAN : The operation is not available.
At line:1 char:1
+ Set-VMNetworkAdapterVLAN –ManagementOS –VMNetworkAdapterName “vEthernet (Host-Pa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-VMNetworkAdapterVlan], VirtualizationOperationFailedException
+ FullyQualifiedErrorId : Microsoft.HyperV.PowerShell.Commands.SetVMNetworkAdapterVlanCommand
When I try to verify the switch I get another error
PS C:\Windows\system32> Get-VMNetworkAdapter -ManagementOS -verbose
Get-VMNetworkAdapter : The operation is not available.
At line:1 char:1
+ Get-VMNetworkAdapter -ManagementOS -verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-VMNetworkAdapter], VirtualizationOperationFailedException
+ FullyQualifiedErrorId : Microsoft.HyperV.PowerShell.Commands.GetVMNetworkAdapterCommand
I must be doing something simple and it is late here but help please?!