JAEN

Virtualization

Get-VMSwitch / New-VMSwitch

CautionVirtual switches

Get-VMSwitch

Lists/creates vSwitches; creating an External one claims the physical NIC — mind the management-OS sharing flag.

Examples

  • New-VMSwitch -Name ext-sw -NetAdapterName 'Ethernet' -AllowManagementOS $trueCreate an external switch

Syntax

Get-VMSwitch / New-VMSwitch -Name n -NetAdapterName a -AllowManagementOS $true

Before you run it

Host connectivity blips during changes.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store