Microsoft Announces PowerShell 7

Posted on March 4, 2020 by Paul Thurrott in Cloud, Dev, Mac and macOS, Windows, Windows 10, Windows 7, Windows 8.1 with 10 Comments

Today, Microsoft announced the immediate availability of PowerShell 7, the latest version of its cross-platform automation tool that provides a command-line shell, an object-oriented scripting language, and a set of tools for executing scripts/cmdlets and managing modules.

“Today, we’re happy to announce the Generally Available (GA) release of PowerShell 7.0,” Microsoft’s Joey Aiello writes in the announcement. “We’d like to thank our many, many open-source contributors for making this release possible by submitting code, tests, documentation, and issue feedback. PowerShell 7 would not have been possible without your help.”

Like its predecessor, PowerShell 7 is built on top of .NET Core, which is what allows this environment to work with Linux and macOS in addition to Windows. But as is the case with .NET Core, which will lose the “Core” branding with its next major release and just become .NET, PowerShell is losing the “Core” branding from PowerShell Core 6.x with this release as well. So it is just going by the name PowerShell now. Again. Or something. (The version of PowerShell that ships with Windows 10 is 5.x.)

As a major new release, PowerShell 7 includes several new features, including support for pipeline parallelization, some new operators, a simplified and dynamic error view, a compatibility layer for importing modules in Windows, automatic new version notifications, and more, in addition to many new cmdlets, APIs, and bug fixes.

PowerShell 7 supports Windows 7, 8.1, and 10, Windows Server 2008 R2 or newer, macOS 10.13 or newer, and several Linux variants, including Alpine Linux 3.8+, Debian 9+, Fedora 29+, openSUSE 15+, Red Hat Enterprise Linux/Cent OS 7+, and Ubuntu 16.04+. It is fully compatible with any models that target PowerShell Core 6.x.

You can learn more about PowerShell 7 from the Microsoft Docs website.

Tagged with ,

Join the discussion!

BECOME A THURROTT MEMBER:

Don't have a login but want to join the conversation? Become a Thurrott Premium or Basic User to participate

Register
Comments (12)

12 responses to “Microsoft Announces PowerShell 7”

  1. Avatar

    will

    While I know very little about PS, only have used it a few times, it is a really great tool.

  2. Avatar

    hrlngrv

    It should be compatible with any recent Linux distribution with the needed libraries. Arch and Gentoo aren't listed, but there's no chance the people who use either wouldn't be able to adapt whatever they need from Debian or RPM packages. That said, I figure 2 orders of magnitude more people are using POSIX tools via WSL under Windows than Powershell under any & all Linux distributions.


    So, is the cartoon character in the picture at the top supposed to excite or amuse the system admins who make up the bulk of Powershell users.

    • Avatar

      thalter

      In reply to hrlngrv:

      Agreed BASH has pretty much become the default shell of the world, and many people use WSL just to have access to it (or use GitBASH, or something similar). I've got to imagine that the number of PowerShell users on Linux or Mac is in the single digits.

      • Avatar

        hrlngrv

        In reply to thalter:

        I tried it out. Ain't many commandlets for Linux, so kinda like bash or zsh without ls, cp, mv, rm, . . .

        POSIX won on the command line. Powershell may be needed for Windows admin, but it serves no compelling purpose on other OSes.

  3. Avatar

    edtittel

    Please add the link to Joe Aeillo's "Announcing PowerShell 7" blog post to the story. Find it in the PowerShell blogs at devblogs dot microsoft dot com.

    Thanks,

    --Ed--

  4. Avatar

    mrdrwest

    Great!


    Now we need some articles on Windows Terminal.

  5. Avatar

    reefer2

    Contrary to claims from Microsoft that ps7 overwrites the old ps6 when you use the msi-installer, it does not. After installation you have two different sets of powershells in the system, pretty annoying.

  6. Avatar

    skolvikings

    I attempted to switch from using PS 5.1 to PS 6 and it was a train wreck. Many of the cmdlets I relied on weren't supported, or there were enough changes to warrant significant script rewrites. I'm not looking forward to this.

  7. Avatar

    red77star

    Moving target. .NET Core 3.1 is really great for web development and api development especially for web...they did awesome job there. I am still on .NET Framework 4.8 just because of .CORE being moving target and waiting for MS to settle all this in .NET 5.

Leave a Reply