Forum Discussion

AlanCam's avatar
AlanCam
Copper Contributor
Dec 09, 2021
Solved

Powershell 7 Update-Help error

I have just installed Powershell 7 on my Windows 10 system and the first step, updating the help appears to be failing. see attached screenshot.

Have I got a problem or what do I do now?

  • Nice dude, powershell have a native command to connect in linux.
    if you installed winscp you can use CMD to run the commands too. You can paste your questions about the .bat or .ps1 file here to get some details and we can help you

7 Replies

  • yuzoyox's avatar
    yuzoyox
    Iron Contributor

    AlanCam 

     

    Hello Alan, to use correctly the powershell 7, you have to run pwsh command. The powershell ISE is version 5.1.

    To use some framework with pwsh (version 7.x), try to download visual code studio and in extension search the powershell 7 module

     

    • AlanCam's avatar
      AlanCam
      Copper Contributor

      yuzoyox Thanks for the info. I am a little unsure where I should use the pwsh. Do you mean on the prompt line of PS ISE or in starting Powershell?

      • yuzoyox's avatar
        yuzoyox
        Iron Contributor
        the difference is when ise run, it run command powershell, that is powershell 5, and when you use visual studio, it command pwsh, that is powershell 7.
        when you download the visual studio and install the component powershell 7, by default it will run using pwsh

Resources