Hello,
I am trying to install ASP.NET on my Raspberry PI 2. I tried it the way mentioned here: https://blogs.msdn.microsoft.com/sujitdmello/2015/04/23/step-by-step-installation-instructions-for-getting-dnx-on-your-windows-machine/
But when I run the command line, I get an error. See:
[minwinpc]: PS C:\Data\Users\Administrator\Documents> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch=’dev';iex ((new-obj ect net.webclient).DownloadString(‘https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}" At line:1 char:13+ @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Bra ...+ ~~~~~~~~~~ Unexpected token '-NoProfile' in expression or statement. At line:1 char:24+ @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Bra ...+ ~~~~~~~~~~~~~~~~ Unexpected token '-ExecutionPolicy' in expression or statement. At line:1 char:1+ @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Bra ...+ ~~~~~~~~~~~ The splatting operator '@' cannot be used to reference variables in an expression. '@powershell' can be used only as an argument to a command. To reference variables in an expression use '$powershell'.+ CategoryInfo : ParserError: (:) [], ParseException+ FullyQualifiedErrorId : UnexpectedToken
I am not very experienced with the PowerShell and I'm out of ideas. Can you guys help me here?
Regards
Christian