查看 Windows 网卡连接状态

用 Get-NetAdapter 列出所有网卡、是否已连接以及协商速率。

Windows网络适配器诊断低风险
运行 `Get-NetAdapter | Format-Table Name, Status, LinkSpeed, InterfaceDescription -AutoSize`,即可看到每块网卡是 Up(已连接)、Disconnected(未连接)还是 Disabled(已禁用)。

01命令

命令
$ Get-NetAdapter | Format-Table Name, Status, LinkSpeed, InterfaceDescription -AutoSize

02作用说明

Get-NetAdapter 显示 Windows 识别到的所有物理和虚拟网卡,以及实时连接状态和协商链路速率——可以快速判断是 Wi-Fi 驱动出了问题,还是单纯没插网线/没连上无线。状态 Up 表示已连接;Disconnected 表示网线未插或未关联 Wi-Fi;Disabled 表示网卡被禁用。启用被禁用的网卡可运行 `Enable-NetAdapter -Name "以太网"`。

03风险

风险低风险

04撤销

✓无需撤销——该命令不会改变持久状态。

05来源

  • Get-NetAdapter
    Microsoft Learn · vendor-doc · 2026-09-17
    依据: Returns adapter objects with Status, LinkSpeed and MacAddress properties.
  • Get-NetIPInterface
    Microsoft Learn · vendor-doc · 2026-09-17
    依据: Returns IP interface properties such as ConnectionState and Dhcp per address family.

最后验证: 2026-09-18 · 分类: 网络

06相关方案