宝塔服务器面板,一键全能部署及管理,送你10850元礼包,点我领取

系统运维

查看
PS C:\\Windows\\system32> netsh wlan show profiles

Profiles on interface Wi-Fi:

Group policy profiles (read only)

weqw

User profiles

All User Profile     : ChinaNGB-YdUPSc

PS C:\\Windows\\system32>

Get-NetIPInterface

PS C:\\Windows\\system32> Get-NetIPInterface

ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore


1 Loopback Pseudo-Interface 1 IPv6 4294967295 75 Disabled Connected ActiveStore
18 vEthernet (Virtual Switch (a… IPv4 1500 25 Enabled Connected ActiveStore
11 Ethernet 3 IPv4 1400 5 Enabled Disconnected ActiveStore
10 Ethernet 2 IPv4 1350 25 Enabled Disconnected ActiveStore
14 Bluetooth Network Connection IPv4 1500 65 Enabled Disconnected ActiveStore
16 Local Area Connection* 1 IPv4 1500 25 Enabled Disconnected ActiveStore
6 Wi-Fi IPv4 1500 25 Enabled Disconnected ActiveStore
1 Loopback Pseudo-Interface 1 IPv4 4294967295 75 Disabled Connected ActiveStore

Set-NetIPInterface -InterfaceIndex 21 -InterfaceMetric 10

Powershell查看更改win10 网络连接-编程部落