keepcalculator

06 Numbers and Powers

V7 1 2 Release of PowerShell: What It Is

Card No. 06·2818 · Updated · Standard formula, shown below

The “V7 1 2 release of PowerShell” refers to PowerShell 7.1.2, a patch update to the cross-platform shell released on February 11, 2021. This version fixed several bugs and added no new features, focusing on stability and reliability for users on Windows, macOS, and Linux.

Background: PowerShell’s Move to Cross-Platform

PowerShell began as Windows PowerShell 1.0 in 2006, built on the .NET Framework and available only on Windows. In 2016, Microsoft announced PowerShell Core, a rewrite on .NET Core that ran on Linux and macOS. The first long-term support (LTS) release, PowerShell 7.0, arrived in March 2020, and the team adopted a six-month feature release cycle. PowerShell 7.1 followed in November 2020, adding features like the && and || pipeline chain operators and a new Get-Error cmdlet. Version 7.1.2 is a servicing release within that cycle.

What Changed in 7.1.2

PowerShell 7.1.2 was a bug-fix release with no new features or breaking changes. The official changelog lists fixes for:

  • A crash when using Get-ChildItem on certain Linux file systems.
  • An issue where Start-ThreadJob could hang under load.
  • Corrected formatting of numeric output in some cultures.
  • Fixed a memory leak in the PSReadLine module.
  • Resolved a problem with Invoke-RestMethod when handling large responses.

These fixes were backported from the in-development 7.2 branch, meaning 7.1.2 users received stability improvements without waiting for the next feature release.

How to Check Your Current Version

To see which version you have, run:

$PSVersionTable.PSVersion

The output shows a Major.Minor.Build.Revision format. For 7.1.2, you should see 7.1.2 (with a revision number). If you have an older version, update using your package manager or the install script.

How to Install or Update to 7.1.2

The installation method depends on your operating system:

  • Windows (MSI): Download the PowerShell-7.1.2-win-x64.msi from the official GitHub releases page and run it. This will replace your existing 7.1.x installation.
  • Windows (Microsoft Store): The Store version updates automatically, so you may already have 7.1.2.
  • Linux (apt, yum, dnf): Use your package manager. For Ubuntu, sudo apt update && sudo apt install powershell.
  • macOS (Homebrew): brew upgrade powershell.

After updating, verify with $PSVersionTable.

Common Problems and Solutions

Users upgrading to 7.1.2 occasionally encounter:

  • Module compatibility: Some third-party modules written for Windows PowerShell 5.1 may not work. Check if the module supports PowerShell 7.
  • Execution policy errors: On Windows, you may need to set the execution policy with Set-ExecutionPolicy RemoteSigned for the current user.
  • Missing .NET runtime: 7.1.2 requires .NET 5.0. The installer includes it, but if you use a manual deployment, install .NET 5 runtime separately.

If you hit an issue, the official PowerShell GitHub repository has an issues section where you can search for known problems.

Comparing 7.1.2 with Other Versions

PowerShell 7.1.2 is a non-LTS release. The LTS versions (7.0, 7.2) receive support for three years, while non-LTS versions are supported only until the next release (about six months). If you need long-term stability for production, choose an LTS version. If you want the latest features, use the newest non-LTS release. 7.1.2 is now outdated; the latest versions are 7.4.x (LTS) and 7.5.x (non-LTS).

Safety and Best Practices

PowerShell is a powerful automation tool. Always:

  • Review scripts before running them, especially those from the internet.
  • Use the -WhatIf parameter with destructive cmdlets to preview changes.
  • Keep your PowerShell updated to receive security fixes.
  • Run as administrator only when necessary.

PowerShell 7.1.2 itself has no known critical security vulnerabilities, but using an outdated version means you miss later security patches.

Frequently Asked Questions

Is PowerShell 7.1.2 still supported?

No. 7.1.2 was a non-LTS release and reached end-of-support on May 3, 2022, when 7.2 was released. Microsoft recommends upgrading to a supported version like 7.4 LTS.

Can I run PowerShell 7.1.2 alongside Windows PowerShell 5.1?

Yes. PowerShell 7.x installs as a separate executable (pwsh.exe) and does not replace Windows PowerShell (powershell.exe). You can run both side by side.

Does PowerShell 7.1.2 work on Windows 7?

No. PowerShell 7.x requires Windows 8.1 or later, or Windows Server 2012 R2 or later. Windows 7 users must use Windows PowerShell 5.1.

How do I uninstall PowerShell 7.1.2?

On Windows, use Settings > Apps > Apps & features, find PowerShell 7.1.2, and uninstall. On Linux, use your package manager (e.g., sudo apt remove powershell). On macOS, brew uninstall powershell.

What is the difference between PowerShell 7.1.2 and 7.2?

7.2 is an LTS release with additional features like the new PSResourceGet module and improved error handling. 7.1.2 is a bug-fix-only release. For production, choose 7.2 or later.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →