win10 IOT 设置固定IP

一、 powershell 连接 raspberry (minwinpc)

        1. 以管理员身份运行 Windows PowerShell

        2. net start WinRM

       3. Set-Item WSMan:\localhost\Client\TrustedHosts -Value minwinpc

       4. Enter-PsSession -ComputerName minwinpc -Credential minwinpc\Administrator

       5. 输入密码:p@ssw0rd

       说明: minwinpc 为设备默认名称,若有修改亲替换,或者使用IP地址代替

                  密码为默认密码,若有修改请替换

二、 设置IP

        1.设置静态IP

                  netsh interface ip set address "连接名称"  static 新IP地址         子网掩码          网关 1

        示例:netsh interface ip set address "ethernet"  static 192.168.1.168 255.255.255.0 192.168.1.1

        2.设置DHCP

                 netsh interface ip set dns "连接名称" dhcp





你可能感兴趣的:(通用windows)