Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the relevant PowerShell commands for Windows 10 IoT Raspberry Pi 2

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

What are the relevant PowerShell commands of Windows 10 IoT Raspberry Pi 2? in response to this question, this article introduces in detail the corresponding analysis and solutions, hoping to help more partners who want to solve this problem to find a simpler and easier way.

Run Power Shell as an administrator

Enable PowerShell operation service:

Enable-psremoting

Add raspberry pie as a trusted host:

Set-Item WSMan:\ localhost\ Client\ TrustedHosts-Value 172.16.6.21

Connect to raspberry pie:

Enter-PsSession-ComputerName 172.16.6.21-Credential Administrator

Change the administrator password to raspberry:

Net user Administrator raspberry

Restart command

Shutdown / r / t 0

Shutdown command

Shutdown / s / t 0

Add a normal user:

Net user username password / add

Add an administrator user:

Net localgroup Administrators user name / add

Network commands:

These can all be used.

Ping.exe, netstat.exe, netsh.exe, ipconfig.exe, nslookup.exe, tracert.exe, arp.exeipconfig / all View IP address netsh interface show interface View Network device netsh interface ip show addresses display current IPnetsh interface ip show dns display current DNS

Static address setting method:

Netsh interface ip set address name= "Ethernet" source=static addr=172.16.6.21 mask=255.255.255.0 gateway=172.16.6.254 gwmetric=0

DNS setting method:

Netsh interface ip add dns name= "Ethernet" addr=172.16.1.11 index=2 (DNS serial number)

Get system time

Get-date

Set system time

Set-Date-date "2016-1-16 16:19:26" on Windows 10 IoT Raspberry Pi 2 related PowerShell command is what the answer is shared here, I hope the above content can be of some help to you, if you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report