Powershell查看更改win10网络连接

系统运维

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

成都创新互联公司专业为企业提供柴桑网站建设、柴桑做网站、柴桑网站设计、柴桑网站制作等企业网站建设、网页设计与制作、柴桑企业网站模板建站服务,10余年柴桑做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

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网络连接
URL分享:http://scyanting.com/article/cppjpj.html