| 1 | initial version |
Hello,
Once you have created your switch, which in your case does not have a AllowManagementOS set to True, you cand do something like this:
Set-VMSwitch -AllowManagementOS $True switch-name
This is to enable AllowManagementOS on the switch. Then, to enable vlan you need to use the following command:
Get-VMNetworkAdapter -SwitchName switch-name -ManagementOS | Set-VMNetworkAdapterVlan -Access -VlanId VlanID
| 2 | No.2 Revision |
Hello,
Once you have created your switch, which in your case does not have a AllowManagementOS set to True, you cand do something like this:
Set-VMSwitch -AllowManagementOS $True switch-name
This is to enable AllowManagementOS on the switch. Then, to enable vlan you need to use the following command:
Get-VMNetworkAdapter -SwitchName
© 2014-2023 Cloudbase Solutions Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.