Why doesn't "Set-Item" work on Windows 7 PowerShell? -


i trying install windows 10 iot on raspberry pi 2. powershell documentation tells me put in this:

set-item wsman:\localhost\client\trustedhosts -value <minwinpc>

however, when put windows 7 powershell, this comes out:

at line:1 char:54 + set-item wsman:\localhost\client\trustedhosts -value <minwinpc> +                                                      ~ '<' operator reserved future use. + categoryinfo          : parsererror: (:) [], parentcontainserrorrecordexception + fullyqualifiederrorid : redirectionnotsupported 

how fix this?

you need use quotes rather < > around name of device (minwinpc)

set-item wsman:\localhost\client\trustedhosts -value 'minwinpc' 

Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -