Configuring VM Hardware
Configuring hardware in your VM is like configuring a physical computer without needing a screwdriver. With a physical computer, you can adjust the CPUs and BIOS settings and change physical RAM, network interfaces, disk interfaces, disk devices, DVD drives (with/without a loaded DVD), and more. You can find each of these virtual components within a Hyper-V VM. As you can see in the recipe, the PowerShell cmdlets make it simple to configure the virtual hardware available to any Hyper-V VM.
In this recipe, you adjust the VM's BIOS, CPU count, and memory and then add a SCSI controller. With the controller in place, you create a new virtual disk and assign it to the SCSI controller. Then, you view the results.
Like most physical servers, you cannot change all of these virtual hardware components while your virtual server is up and running. You run this recipe from HV1
and turn the PSDirect
VM off before configuring the virtual hardware.
This recipe does not cover...