1
votes

I am trying to install Windows 10 IoT on my Raspberry Pi 2. The PowerShell documentation tells me to put in this:

Set-Item WSMan:\localhost\Client\TrustedHosts -Value <minwinpc>

However, when I put it into my Windows 7 PowerShell, this comes out:

At line:1 char:54
+ Set-Item WSMan:\localhost\Client\TrustedHosts -Value <minwinpc>
+                                                      ~
The '<' operator is reserved for future use.
+ CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported

How do I fix this?

1
I'm sure they meant for <minwinpc> to be a place holder for the name of the computer. like it is here.Mike Zboray
Actually, Mike, that's the exact name that it says on my Pi.Essem
Probably without the without the angle brackets, that seems to be the default.Mike Zboray
For the powershell command, see stackoverflow.com/questions/21548566/…hdev

1 Answers

2
votes

You need to use quotes rather than < > around the name of the device (minwinpc)

Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'minwinpc'