This is part of the Learning Raspberry Pi Series here on FoxDeploy.com. Click the banner for more Raspberry Pi and Windows!
If you’re like me, you got really excited to hear about the possibilities of running Windows 10 IoT preview on your Raspberry Pi 2. I actually bought one just for a blog series on PowerShell and Raspberry Pi, so stay tuned for more! Note: I did all of this while drinking some brewskies the other night. If I can do it mildly intoxicated, then you can definitely do it sober.
What you’ll need
- Laptop / Desktop running Windows 10 Preview, can’t be a VM as you’ll need hardware access
- RaspBerry Pi 2:
- 8 GB or higher Class 10 Micro SD Card. Don’t buy an off-brand or you’re begging for pain!
- Sign-up for the Windows Connect Program here and click through all of the EULAs to enable the download tab. Download the .zip file and unzip it.
- Optional : SD Card reader if you don’t have one
How to get it up and running
- Download the .ffu file listed above.
- Go to your Win 10 preview machine, use DiskPart to figure out which disk your SD Card is. This will likely be the smallest disk when you run diskpart – List Disk . Grab the disk number.
- Change into the directory where you put your .ffu file
- Run this cmd
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDriveN /SkipPlatformCheck
- When you see 100% you’re done! Put the SD Card in your Raspberry Pi 2 and boot her up.
What’s it like?
set-Item WSMan:\localhost\Client\TrustedHosts 10.63.30.54 WinRM Security Configuration. This command modifies the TrustedHosts list for the WinRM client. The computers in the TrustedHosts list might not be authenticated. The client might send credential information to these computers. Are you sure that you want to modify this list? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y PS C:\WINDOWS\system32> get-Item WSMan:\localhost\Client\TrustedHosts WSManConfig: Microsoft.WSMan.Management\WSMan::localhost\Client Type Name SourceOfValue Value ---- ---- ------------- ----- System.String TrustedHosts 10.63.30.54 PS C:\WINDOWS\system32> Enter-PSSession -ComputerName 10.63.30.54 -Credential 10.63.30.54\Administrator [10.63.30.54]: PS C:\Users\Administrator\Documents>
Well, from here on in, we’ll try to find some cool stuff on the Raspberry Pi. My next to-do’s include finding temperature sensors, if they exist, and finding some other cool stuff we can run on the Pi from remote PowerShell.