Configuring VM hardware
Configuring hardware in your VM is very much like configuring a physical computer, just without the need for a screwdriver. With a physical computer, you can adjust the CPUs and BIOS settings and adjust physical RAM, network interfaces, disk interfaces, disk devices, DVD drives (with/without a loaded DVD), and more. You can find each of these 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 an 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 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...