Use this topic for VM lifecycle, state transitions, registration/configuration questions and as the entry point before narrowing to a specific virtual device.
Virtual Machines
A Hyper-V VM has multiple independent states: configuration validity, registration, power/runtime state, guest OS state and application state. Troubleshooting must keep those layers separate.
1. Each VM has a configuration (.vmcx), runtime state (.vmrs) and VHDX disks.
2. Configuration version decides features and compatibility.
3. Update version only when all hosts support it.
4. Status shows problems (e.g. paused-critical).
5. Use notes for owner/purpose.
VM config → worker process → VHDX/vNIC
Continue to the first failing VM hardware, guest or application boundary.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show device or application health from Running state alone.
Next check: Continue to the first failing VM hardware, guest or application boundary.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
VM configuration/registration → hypervisor resource allocation → virtual devices → guest firmware/OS → guest services → application
Step 2 Common mistakes Narrow the fault
- VMs stored on C:.
- Automatic stop action set to save state, filling disk with memory files.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Registered ≠ running.
- Running ≠ guest booted.
- Guest booted ≠ application healthy.
- A VM configuration can be valid yet incompatible with destination CPU, storage or networking.
Get-VM | ft Name,State,Generation,Version,Status— VM inventoryGet-VM <vm> | Get-VMHardDiskDrive,Get-VMNetworkAdapter— devicesUpdate-VMVersion <vm>— upgrade config version (one-way)
ReferenceWhy it matters1 section · depth on demand
In depth
Day-to-day VM management in Hyper-V with PowerShell:
New-VM -Name app01 -Generation 2 -MemoryStartupBytes 8GB -NewVHDPath D:\VMs\app01.vhdx -NewVHDSizeBytes 80GB -SwitchName vSwitch-Prod
Set-VMProcessor app01 -Count 4
Set-VMNetworkAdapterVlan -VMName app01 -Access -VlanId 20
Set-VMFirmware app01 -EnableSecureBoot On -SecureBootTemplate MicrosoftWindows
Enable-VMIntegrationService -VMName app01 -Name 'Guest Service Interface'
Start-VM app01
Get-VM | ft Name,State,CPUUsage,MemoryAssigned,Uptime,Version
Update-VMVersion upgrades the configuration version after all cluster nodes run the newer Windows Server (one-way).
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Hyper-V VM state is platform evidence; it does not collapse guest and application health into the same state.
Commands
Get-VM
New-VM -Name vm01 -Generation 2 -MemoryStartupBytes 4GB -SwitchName External
Set-VM vm01 -ProcessorCount 4 -AutomaticStopAction ShutDown
Get-VM vm01 | Get-VMHardDiskDrive
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → Virtual Machines. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Hyper-V → Virtual Machines reference map
Fast Hyper-V boundaries for Hyper-V → Virtual Machines.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Configuration | Persistent VM definition | Not runtime allocation |
| Runtime | Off/Starting/Running/etc. | Running ≠ guest healthy |
| Guest | OS responds | Not application proof |
| Application | Original service test succeeds | End-to-end acceptance |