Administering Windows Server Hybrid Core Infrastructure (AZ-800) Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the AZ-800 exam with our comprehensive study resources. Utilize flashcards and multiple-choice questions with hints and explanations. Gain confidence and excel in your certification journey!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which PowerShell cmdlet is necessary to enable nested virtualization on a VM?

  1. Enter-PSSession

  2. Set-VMProcessor

  3. New-VM

  4. Get-VM

The correct answer is: Set-VMProcessor

To enable nested virtualization on a virtual machine (VM), the necessary PowerShell cmdlet is Set-VMProcessor. This cmdlet is specifically used to modify the processor settings of a VM, allowing for the toggling of certain features, including nested virtualization. Nested virtualization enables a virtual machine to act as a hypervisor itself, which is particularly useful for scenarios such as testing and development of hypervisor management solutions, allowing one VM to host other virtual machines. By using the Set-VMProcessor cmdlet, you can change the configuration of the VM's CPU settings to accommodate this capability, effectively allowing the VM to utilize processor features necessary for nesting another hypervisor layer. The other options serve different purposes: Enter-PSSession is used for entering a remote PowerShell session, New-VM is for creating a new virtual machine, and Get-VM is for retrieving information about existing virtual machines. None of these cmdlets are designed to modify processor settings explicitly, which is why Set-VMProcessor is the correct choice for enabling nested virtualization.