Windows Server / Hyper-V & Failover Clustering
Check a Hyper-V virtual switch's actual uplink
A VM can lose external connectivity when attached to an internal switch or a changed physical uplink. Inspect switch configuration first.
Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
Get-VMSwitch | Select-Object Name, SwitchType, NetAdapterInterfaceDescription
What the results mean
The query identifies switch types and associated uplink description where applicable. Guest addressing and upstream VLAN configuration remain separate checks.
Fix the cause and check again
Compare the VM's intended network with its switch and physical NIC. Repair the approved attachment or uplink and retest the original guest flow.
Before changing production
Do not recreate a switch carrying host management traffic without an alternate access path.