question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

install-powershell.ps1 script still installs version 7.1.0, even though 7.1.1 has been released

See original GitHub issue

I am getting the following message in PowerShell:

A new PowerShell stable release is available: v7.1.1
   Upgrade now, or check out the release page at:
     https://aka.ms/PowerShell-Release?tag=v7.1.1

However, executing iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" still tries to install 7.1.0:

VERBOSE: About to download package from 'https://github.com/PowerShell/PowerShell/releases/download/v7.1.0/PowerShell-7.1.0-win-x64.msi'

A simple Update-PowerShell command that reliably works is long overdue.

_Originally posted by @lauxjpn in https://github.com/PowerShell/PowerShell/issues/8663#issuecomment-760773912_

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
chenxizhangcommented, Jan 16, 2021

I am getting the following message in PowerShell:

A new PowerShell stable release is available: v7.1.1
   Upgrade now, or check out the release page at:
     https://aka.ms/PowerShell-Release?tag=v7.1.1

However, executing iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" still tries to install 7.1.0:

VERBOSE: About to download package from 'https://github.com/PowerShell/PowerShell/releases/download/v7.1.0/PowerShell-7.1.0-win-x64.msi'

A simple Update-PowerShell command that reliably works is long overdue.

Originally posted by @lauxjpn in #8663 (comment)

echo this, we need a simple way to upgrade

2reactions
fblixcommented, Jan 15, 2021

I think the issue is that the metadata.json under https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json has not been updated accordingly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install and upgrade to PowerShell 7.1
PowerShell 7, currently available in version 7.1, is the most recent release of Microsoft's cross-platform scripting language.
Read more >
Migrating from Windows PowerShell 5.1 to PowerShell 7
Separate installation path and executable name. PowerShell 7 installs to a new directory, enabling side-by-side execution with Windows ...
Read more >
Installing PowerShell on Windows
To install a different version of PowerShell, adjust the command to match the version you need. The following links direct you to the...
Read more >
Cannot install powershell modules - Microsoft Q&A
My problem is that I am not able to install modules to my powershell console. Example: Install-module -Name AzureAD.
Read more >
Install PowerShell on Linux
In this article ... PowerShell can be installed on different Linux distributions. Most Linux platforms and distributions have a major release each ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found