Created
September 27, 2015 21:33
-
-
Save Injac/4ea8c3a746e01589c841 to your computer and use it in GitHub Desktop.
Script to connect to your RPI2, running Windows 10 IoT Core using PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Please replace the the [REPLACE WITH YOUR PI'S IP ADDRESS] entries (including the square brackets) with your RPI2's IP Address | |
#Open powershell as Administrator and execute the file (save it as yourfilename.ps1) | |
net start WinRM | |
Set-Item WSMan:\localhost\Client\TrustedHosts -Value [REPLACE WITH YOUR PI'S IP ADDRESS] | |
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "[REPLACE WITH YOUR PI'S IP ADDRESS]" | |
Enter-PSSession -ComputerName [REPLACE WITH YOUR PI'S IP ADDRESS] -Credential [REPLACE WITH YOUR PI'S IP ADDRESS]\Administrator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment