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 would you use to retrieve the configuration of a specific VM in Hyper-V?

  1. Get-VM

  2. Show-VMConfiguration

  3. Retrieve-VM

  4. Find-VM

The correct answer is: Get-VM

To retrieve the configuration of a specific virtual machine (VM) in Hyper-V, the Get-VM cmdlet is the appropriate choice. This cmdlet is designed to provide detailed information about virtual machines, including their configuration settings, state, and other properties. By using Get-VM followed by the VM's name, you can ascertain all relevant configuration details effectively. This cmdlet is versatile in that it can be used to obtain information about all VMs or selective ones based on provided parameters such as the name or ID of the VM. This makes it a fundamental tool for administrators managing Hyper-V environments, allowing quick access to VM configurations for monitoring or troubleshooting purposes. The other options listed do not represent valid cmdlets in Hyper-V PowerShell. Therefore, they do not serve the purpose of retrieving VM configurations and are not recognized as part of typical PowerShell command usage for Hyper-V, reinforcing why Get-VM is the superior choice for this task.