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 cmdlet is specifically used for installing Hyper-V through Windows PowerShell?

  1. Get-WindowsFeature

  2. Enable-WindowsOptionalFeature

  3. Install-WindowsFeature

  4. Set-WindowsFeature

The correct answer is: Install-WindowsFeature

The cmdlet used for installing Hyper-V through Windows PowerShell is specifically Install-WindowsFeature. This cmdlet is part of the Server Manager module and is designed for adding roles and features to Windows Server, including Hyper-V. When you want to enable a feature such as Hyper-V, you would typically use this cmdlet to specify the feature you want to install. In the case of Hyper-V, executing Install-WindowsFeature -Name Hyper-V would facilitate the installation of the Hyper-V role on the server, allowing you to create and manage virtual machines. This cmdlet is essential for Windows Server administrators who want to automate the installation of server roles and features without navigating through the GUI. Other cmdlets may imply various functions, such as retrieving the list of features or enabling optional features, but Install-WindowsFeature is uniquely intended for installing new roles and features directly, making it the correct choice for this particular task.