Powershell查看更改win10 网络连接

系统运维

查看
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

新网虚拟主机

Published by

风君子

独自遨游何稽首 揭天掀地慰生平

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注