Shutting Down Windows 10 for IoT Core

If you’re dabbling with the Raspberry Pi 2 and Windows 10 for IoT (that’s “Internet of Things” for those who don’t know). then you probably need to know how to shut it down properly.

However, without an actual interface you can use with a keyboard and mouse, you’ve got to do it remotely via PowerShell.

Quite simply, you need to issue the following commands (if you’re not already connected to your Pi):

Enter-PsSession -ComputerName <machine-name or IP Address> -Credential <machine-name or IP Address>\Administrator

shutdown -s -t 0

That will get Windows 10 to shutdown on the Pi 2 however it doesn’t stop it from immediately booting back up again with the current build. What I have found so far is, with a monitor connected, pulling the plug when you see the rainbow splash screen to prevent the SD card from becoming corrupted.

Hopefully this will be fixed in a later build.

Leave a Reply

Your email address will not be published.