搜索结果

×

搜索结果将在这里显示。

netsh 網卡管理(Windows)

列出所有保存的无线配置文件

netsh wlan show profiles

查看某个 WiFi 的详细信息(含密码)

netsh wlan show profile name="WiFi名称" key=clear

查看当前连接的 WiFi 信号强度等信息

netsh wlan show interfaces

查看周围可用的 WiFi 网络列表

netsh wlan show networks

导出某个 WiFi 配置文件(方便迁移到另一台电脑)

netsh wlan export profile name="WiFi名称" folder=C:\wifi_backup

创建 WiFi 热点(虚拟无线网络)

netsh wlan set hostednetwork mode=allow ssid=热点名称 key=密码至少8位
netsh wlan start hostednetwork # 启动热点
netsh wlan stop hostednetwork # 停止热点

设置 WiFi 自动连接开关

netsh wlan set autoconfig enabled=no interface="Wi-Fi" # 关闭自动连接

無綫網絡密碼查看

netsh wlan show  profiles ssidname key=clear

顯示ipv4網絡配置

netsh interface ipv4 show config

設定ipv4IP地址

netsh interface ipv4 set address /?

Usage: set address [name=]<string>
             [[source=]dhcp|static]
             [[address=]<IPv4 address>[/<integer>] [[mask=]<IPv4 mask>]
             [[gateway=]<IPv4 address>|none [gwmetric=]<integer>]
             [[type=]unicast|anycast]
             [[subinterface=]<string>]
             [[store=]active|persistent]

Parameters:

       Tag            Value
       name         - Interface name or index.
       source       - One of the following values:
                      dhcp: Enables DHCP for configuring IP addresses for
                            the specified interface.
                      static: Disables DHCP for configuring IP addresses for
                            the specified interface. This value must be
                            specified if an address or a gateway is being
                            configured.
       address      - IPv4 address to add or modify, optionally followed by
                      the subnet prefix length.
       mask         - The IP subnet mask for the specified IP address.
       gateway      - One of the following values:
                      <IPv4 address>: A specific default gateway for the
                                      static IP address you are setting.
                      none: No default gateways are set.  This is the default.
       gwmetric     - The metric for the default gateway. This field should
                      be set only if gateway is specified.
       type         - One of the following values:
                      unicast: Marks the address as a unicast address.
                               This is the default.
                      anycast: Marks the address as an anycast address.
       subinterface - LUID of the subinterface on which the default gateway
                      exists.  This parameter is only needed on interfaces
                      with multiple subinterfaces.
       store        - One of the following values:
                      active: Set only lasts until next boot.
                      persistent: Set is persistent.  This is the default.

Remarks: Used to enable or disable DHCP for IP address configuration.
         Also removes any previous static IP addresses and default gateways,
         and can add a new static IP address and default gateway.

Examples:

       set address name="Wired Ethernet Connection" source=dhcp
       set address "Wired Ethernet Connection" static 10.0.0.9 255.0.0.0 10.0.0.1 1
发布时间: