Original: "Windows10 IoT Development Series" PowerShell command-line utility
Update account password:
It is strongly recommended that you update the default Administrator account password. To update your account password, you can issue the following command:
net userAdministrator [new password]
(Which [newpassword] indicates the strong password you chose).
If you want to grant other people access to your Windows IoT core device, you can netuser [username] [password] /add Create additional local user accounts by typing in and using PS. If you want to add this user to another group (for example, the Administrators group), use the
netlocalgroup Administrators [username] /add .
To change the account password on your device, you can run the
SetPassword[account-username] [new-password][old-password]
To change the account password.
To determine the current device name, simply typehostname
。 To change the name of your Windows IoT core device, you should type SetComputerName [newmachinename] . You may need to restart your device to make the changed name take effect.
Windows IoT Core provides a variety of basic network configuration utilities, including such as ping.exe
, netstat.exe , netsh.exe , ipconfig.exe , nslookup.exe , tracert.exe and arp.exe other commands), you may already be familiar with these utilities.
Microsoft will provide familiar tools, including sfpcopy.exe as well xcopy.exe .
To see which processes are currently running, you can try get-process or tlist.exe . To stop a process that is running, type kill.exe[pid or process name] .
Use the startup editor to configure the launch app on your Windows IoT core device. Run with one of the following options IotStartup :
iotstartuplist , used to list installed applications
-
IotStartup listheadedTo list installed peripheral applications
-
IotStartup listheadlessTo list installed, headless applications
-
For further assistance, please try IotStartuphelp
-
Set boot options (no peripherals and peripheral boot):
Windows IoT core devices can be set to have peripheral device mode (when a feature is required) or no peripheral device mode (the display feature is not required or unavailable). To change this setting, use the setbootoption.exe[headed | headless] .
note:changingthis setting would require a reboot in order for the change to Takeeffect.
To view the current list of scheduled tasks, use the schtasks.exe command. You can use /create the switch to create a new task, or use the /run switch to run on-demand tasks. To get a complete list of supported parameters, use theschtasks.exe/?
The device console utility is useful for identifying and managing installed devices and drivers. To get a complete list of parameters, use thedevcon.exe/?
If you need to access the registry to view or modify settings, use the reg.exe/? command to get a complete list of supported parameters.
Managing Windows services can be done bynet.exe
command to complete. To view a list of services that are running, type netstart . To start or stop a specific service, type net[start | stop] [service name] . In addition, you can sc.exe use the Service Control Manager through commands.
You can use it bcdedit.exe to change the startup configuration for Windows IoT core devices. For example, you can use a bcdedit –settestsigning command to enable a test signature.
To turn off your device, type shutdown /s /t0 . To restart the device, use the /r switch instead of the shutdown/r /t 0 command.
To adjust the resolution of the monitor connected to your Windows IoT core device, run SetDisplayResolution [width][height] . To query the resolution, exclude [width] and [height] parameters.
This article resources from the Windows Dev Center
"Windows10 IoT Development Series" PowerShell command-line utility