Hyper-V
Cheat sheet · https://pcornel.dk/topic.php?topic=381
Answer
Hyper-V is Microsoft's hypervisor in Windows Server. It runs virtual machines — each with virtual processors, memory, VHDX disks and network adapters on a virtual switch — on one physical host.
Remember
"Running" is the host's view: the guest may still not have booted. The generation (1 or 2) is fixed at creation. A checkpoint is a rollback point, not a backup, and its differencing disk grows until the checkpoint is deleted.
First checks
Get-VMHost | fl ComputerName,LogicalProcessorCount,MemoryCapacity,VirtualHardDiskPath,VirtualMachinePath— host defaultsGet-VM | ft Name,State,CPUUsage,MemoryAssigned,Uptime,Version— VMsGet-Service vmms,vmcompute— management services
Commands
Get-VMNetworkAdapter -All- Hyper-V VM network adapters and switch attachment.
Get-VMNetworkAdapterVlan -VMName <name>- Hyper-V VM VLAN mode/configuration.
Verify in this order
hypervisor → parent partition (vmms) → worker process (vmwp) → child partition VM
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Hyper-V evidence chain
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | Get-VM | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | guest workload → virtual device/switch/disk → hypervisor process → cluster ownership/quorum → physical network/storage → application outcome | application success |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=381