Powershell查看更改win10 网络连接

发布时间:2020-07-24 05:10:05 作者:Panlg
来源:网络 阅读:319

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

推荐阅读:
  1. 如何在PowerShell脚本中使用netstat监控网络连接情况
  2. 为什么要学习PowerShell——PowerShell三分钟(一)

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

powershell n1 ers

上一篇:汇聚各种android开源项目源码分类总汇-IT蓝豹

下一篇:苹果Iphone/Ipad--L2T虚拟教程

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》