一、 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 PowerShell在Win10 IoT设备上连接Raspberry并设置固定IP地址。首先,作为管理员运行PowerShell,启动WinRM服务,设置可信主机,然后通过PSSession连接到设备。接着,提供了设置静态IP和DHCP的命令,帮助用户根据需求配置网络连接。
最低0.47元/天 解锁文章
5万+

被折叠的 条评论
为什么被折叠?



