PowerShell 5.1 will co-exist nicely with PowerShell 7 and the PowerShell 7 install does NOT require a reboot so you can safely upgrade during business hours


how to download and install the latest powershell 7

  1. Download the latest PowerShell 7 directly from Microsoft:
    https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#msi
  2. Click next through the install
  3. Enjoy with these caveats
    • If you want PowerShell 7 to be the default PowerShell, use this command AND REBOOT
      Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name Shell -Value 'C:\Program Files\PowerShell\7\pwsh.exe -NoExit'
    • Make sure you are launching the version of PowerShell you want to use (i.e 5.x or 7.x) when you use the START menu


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *