Hyper-V
Cheat sheet · https://pcornel.dk/topic.php?topic=3329
Answer
Hyper-V inserts a hypervisor beneath the management operating system and virtual machines, then exposes compute, memory, storage and networking through virtualized resources managed by the Windows virtualization stack.
Remember
- The management operating system is a privileged partition; it is not the hypervisor itself.
- A VM shown as Running proves a VM state transition, not guest OS or application health.
- Hyper-V availability, migration and Replica solve different problems and must be verified independently.
- Keep generic hypervisor theory in Virtualization; this Windows branch owns Hyper-V implementation and operations.
First checks
Get-VM— VMs and stateGet-VMHost— host settingsGet-VMSwitch— virtual switchesGet-VMNetworkAdapter -VMName <vm>— vNICs, switch, VLANGet-VMHardDiskDrive -VMName <vm>— attached disksGet-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30— VMMS events
Verify in this order
host hypervisor → partitions (VMs) → virtual devices → switches/storage
Where it usually breaks
First mismatch in host/cluster identity → management configuration → quorum/resource ownership → network/storage dependencies → VM/service runtime → guest/application verification; preserve identity/native error/pre-state before mutation.
Hyper-V reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Host/role | Hyper-V platform is available on this Windows host | Does not prove a specific VM or workload is healthy |
| VM state | Configured VM runtime state such as Off or Running | Does not prove guest OS or application health |
| Virtual devices | VM has assigned storage/network devices | Does not prove backing path or external network works |
| Workload | Guest and application checks succeed | End-to-end proof requires guest-side evidence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3329