Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Hyper-V
  • Table Of Contents Toc
Learning Hyper-V

Learning Hyper-V

close
close
Learning Hyper-V

Learning Hyper-V

Overview of this book

This book focuses on readers starting their journey with Hyper-V, and assumes they have minimal or no knowledge of virtualization.
Table of Contents (13 chapters)
close
close
12
Index

Connecting a VM to a Virtual Switch


Now that the Virtual Switch is created, we can connect the VM to it so that the VM can communicate with other VMs and with the network. The easiest and most common way to connect a VM to the Virtual Switch is when you're creating a new VM. The process of creating a new VM will be detailed in Chapter 6, Virtual Machines and Virtual Machine Templates, so for now, keep in mind that a part of the process of creating a new VM includes the connection to a Virtual Switch. If you're creating a new VM through the GUI, you can either specify to connect the virtual network of the VM to a Virtual Switch or keep the VM not connected to a Virtual Switch.

If the VM is already created, you'll have to open the VM Settings... on Hyper-V Manager, select the Network Adapter you want to configure, and choose the Virtual switch that the virtual network should be connected to, as shown in the following screenshot:

In PowerShell, you can use the following cmdlet to create a VM...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Hyper-V
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon