Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RPi2 PsSession: "Command 'iotstartup' cannot be found"

I am in the process of deploying a Windows Universal App to my Raspberry Pi 2. I am following a very handy guide published here.

Everything's fine but I get a peculiar warning when trying to run the iotstartup command after having established the PsSession.

ps snippet

If I simply press return again, the message disappears and the command seems to work fine...

Am I doing something wrong here? Is it a known powershell thing, or has something gone awry on my device? (If it's of any significance, I had to re-flash the OS once or twice in order to get anything to deploy remotely).

I hope it's not my device; but I would be interested to hear of any clarification on this sort of issue.

like image 935
ne1410s Avatar asked Apr 10 '26 09:04

ne1410s


1 Answers

iotstartup as setcomputername are executables. Use the invoke command, see this article.

& iotstartup list

will do.

like image 139
CoolMaker Avatar answered Apr 11 '26 22:04

CoolMaker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!