The term ‘Invoke-WebRequest’ is not recognized
I’ve decided to check out the code from Orchard2 to learn more about it and the new ASP.NET Core 1.0. Following the Getting Started points from their github’s page the third bullet point is to run the build.cmd. I did and the output was the following
So, I did what every engineer does when he has a problem that doesn’t know how to solve… I googled it. It didn’t help much, so I went to the technet website to see that the cmdlet has been introduced in Windows PowerShell 3.0.
Next, I wondered what powershell version I had on the computer.
Ops, problem found. Now, to solve it, I went to http://social.technet.microsoft.com/wiki/contents/articles/21016.how-to-install-windows-powershell-4-0.aspx and installed the PowerShell 4.0.
Member discussion