Microsoft Hyper-V PowerShell Automation by Vinith Menon

Microsoft Hyper-V PowerShell Automation by Vinith Menon

Author:Vinith Menon
Language: eng
Format: epub
Publisher: Packt Publishing


Configuring Hyper-V virtual switches and their properties

Now that we have explored the cmdlets for managing virtual network adapters, let's look at the cmdlets to manage and configure Hyper-V virtual switches. The Hyper-V PowerShell module also comes with cmdlets to manage virtual machine switches. To get the list of cmdlets that can be used to manage the virtual switch, type the command shown in the following screenshot in a PowerShell prompt:

Next, let's look at some of the cmdlets from each of the sections shown in the preceding screenshot. You can add a VM switch to a resource pool using the Add-VMSwitch cmdlet. Grouping the VM switches to resource pools allows them to be managed more easily. The example shown in the following screenshot adds a virtual switch, Test, to the Ethernet resource pool, Engineering Department:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.