News

PowerShell 7.1 Now Commercially Released

Microsoft this week announced the release of PowerShell 7.1, which was described as a "major update" to the scripting language.

Despite that characterization, PowerShell 7.1 mostly brings "additive changes and quality-of-life improvements." Its new features weren't highlighted so much. Microsoft's "What's New" document just listed three experimental features, plus multiple cmdlet fixes. The most interesting thing about PowerShell 7.1 is perhaps that it's available for download not just from the GitHub repository, but also from the Microsoft Store, which apparently is a first.

PowerShell 7.1 is based on .NET 5, which also was released this week. In essence, .NET Core is getting replaced by .NET 5, which is touted as offering more extensive platform support for developers than just Windows.

PowerShell 7, delivered by Microsoft back in March, is based on .NET Core 3.1, and is a "long-term service" release that follows the .NET Core 3.1's lifecycle. PowerShell 7 was Microsoft's first stab at delivering a scripting language with support the older Windows PowerShell 5.1, while also moving forward with support for the newer PowerShell Core 6.x technology.

Plenty of PowerShell users may be stuck on Windows PowerShell, but Microsoft has argued that PowerShell 7 ushered in sufficient module support for the older Windows PowerShell that scripters would want to make the switch. PowerShell 7 is notable for being a cross-platform release, as well.

"PowerShell 7 offers cross-platform support on Linux, macOS, and Windows, SSH-based remoting, parallelization, Docker containers, new operators and language features, and a massive long tail of small improvements and bug fixes," the announcement explained.

Oddly, PowerShell users may be surprised to find that PowerShell 7 will be supported by Microsoft for a longer period of time than PowerShell 7.1. It's because PowerShell 7 is a long-term service release under Microsoft's Modern Lifecycle Support policy and based on the lifecycle of .NET Core 3.1. In contrast, PowerShell 7.1 isn't a long-term release version and is based on the lifecycle of .NET 5.

Microsoft estimates that PowerShell 7.1 will reach its end-of-life phase in "mid-February 2022," whereas PowerShell 7 will hit its end on Dec. 3, 2022, according to this support document.

Under the Modern Lifecycle Support policy, software is expected to be kept up to date as a precondition to being under support. Supported software continues to get patches, including security fixes, from Microsoft.

PowerShell 7.1's new features may have seemed slim, but some new capabilities are on the horizon. Microsoft's team is working on a "secrets" (passwords) management capability, for instance, which can be used for "universally accessing and managing secrets across platforms." The team also is modernizing the PowerShellGet module package manager. Also on the horizon is support for "both PowerShell Notebooks in Visual Studio Code and PowerShell Notebooks in .NET Interactive," among other developments.

About the Author

Kurt Mackie is senior news producer for 1105 Media's Converge360 group.

Featured

  • Microsoft and SAP Enhance Partnership with Teams Integration

    Microsoft and SAP this week described continuing partnership efforts on Microsoft Azure, while also planning a Microsoft Teams integration with SAP's enterprise resource planning product and other solutions.

  • Blue Squares Graphic

    Microsoft Previews Azure IoT Edge for Linux on Windows

    Microsoft announced a preview of Azure IoT Edge for Linux on Windows, which lets organizations tap Linux virtual machine processes that also work with Windows- and Azure-based processes and services.

  • How To Automate Tasks in Azure SQL Database

    Knowing how to automate tasks in the cloud will make you a more productive DBA. Here are the key concepts to understand about cloud scripting and a rundown of the best tools for automating code in Azure.

  • Microsoft Open License To End Next Year for Government and Education Groups

    Microsoft's "Open License program" will end on Jan. 1, 2022, and not just for commercial customers, but also for government, education and nonprofit organizations.

comments powered by Disqus