Microsoft Brings PowerShell Core to Windows, macOS, and Linux

Microsoft announced this week that it has made the initial release of PowerShell Core available on Windows, macOS, and Linux. Confusingly, this first release is called PowerShell 6.0.

“This is the biggest and most important change we’ve ever made to PowerShell!” Microsoft Technical Fellow and PowerShell creator Jeffrey Snover tweeted.

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday — and get free copies of Paul Thurrott's Windows 11 and Windows 10 Field Guides (normally $9.99) as a special welcome gift!

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Put simply, PowerShell Core is a new, cross-platform version of PowerShell that is built on .NET Core instead of the .NET Framework. So with this release, there are now two PowerShell editions: The classic Windows PowerShell, formerly codenamed Monad, that we’ve been using on Windows for the past decade and PowerShell Core.

From a functional perspective, Windows PowerShell is still more powerful, in that it can take advantage of a bigger and more set of .NET capabilities that are exposed by the .NET Framework and .NET Standard. PowerShell Core relies on the newer, cleaner, but less capable .NET Core runtime, which limits its functionality to what’s available today in .NET Core and .NET Standard.

But the advantage to PowerShell Core—like .NET Core—is that it’s cross-platform compatible. So any scripts that you write for PowerShell Core will work across Windows, macOS, and various newer Linux distributions, like Ubuntu, Debian, Red Hat Enterprise, and others. There are also experimental versions available for both Windows 10 on ARM and Raspian, the Raspberry Pi-based system.

And on that note, PowerShell Core is the modern successor to Windows PowerShell. That prior Windows-only release ends at version 5.1, which explains why PowerShell Core starts at version 6.0.

“There are currently no plans to introduce new functionality to Windows PowerShell,” Microsoft’s Joey Aiello writes. “You can count on it as a stable platform for your existing workloads.”

Microsoft also explains which Windows PowerShell features are missing in PowerShell Core.

“As part of the move to .NET Core and other operating systems, we were forced to leave behind some technologies that were being used by Windows PowerShell,” Aiello explains. “In other cases, we took the opportunity of PowerShell being refactored to stop supporting lesser used technologies. Some of these technologies may eventually return to PowerShell Core, but many will not.”

PowerShell Workflows, PowerShell Snap-ins, Windows Management Instrumentation (WMI) 1.0 cmdlets, and support for Desired State Configuration (DSC) resource execution are among the missing in action in PowerShell Core 6.0, Microsoft says.

Download PowerShell Core for Windows or for macOS or Linux.

 

Tagged with

Share post

Please check our Community Guidelines before commenting

Conversation 23 comments

  • hrlngrv

    Premium Member
    11 January, 2018 - 2:11 pm

    <p><em>Minize attack </em><strong><em>service</em></strong> or <em>Minimize attack </em><strong><em>surface</em></strong>, or is it not OK for any MSFT employee to use <strong><em>Surface</em></strong> with any negative connotations?</p>

  • chrisrut

    Premium Member
    11 January, 2018 - 4:20 pm

    <p>I think this is rather a big deal. Supports the notion that Microsoft's services are available everywhere, by making the tools needed to manage things like Azure and O365 available on every platform. Very smart.</p><p>Unless they left out the features to manage Azure and O365 :-)</p>

    • hrlngrv

      Premium Member
      11 January, 2018 - 8:26 pm

      <p><a href="#236954"><em>In reply to chrisrut:</em></a></p><p>FWIW, there's no version of Office for Linux to manage.</p>

  • Tony Barrett

    12 January, 2018 - 6:45 am

    <p>I just don't think there's a lot of .NET development going on in Windows now. While MS want devs to use UWP, that's not really going anywhere fast either. It seems to be web/PWA where the future will lie. I'm also just not sure what MS are trying to do with PowerShell these days. Powershell on Linux? Really? Can't see this getting anywhere against bash. Makes you wonder what MS are smoking.</p>

    • Jeremy Petzold

      13 January, 2018 - 1:14 pm

      <blockquote><a href="#237015"><em>In reply to ghostrider:</em></a></blockquote><p>PWA is the future which is why MS is moving in that direction as fast as it can. Their technologies are having Windows hooks factored out because they know the future is in servers and cloud services. </p>

      • skane2600

        14 January, 2018 - 1:57 pm

        <blockquote><a href="#237453"><em>In reply to Jeremy_Petzold:</em></a></blockquote><p>The great thing about the early days of a tech innovation is that we can pretend it will be better because we haven't yet experienced the inevitable problems and limitations. </p>

  • skane2600

    12 January, 2018 - 10:36 pm

    <p>“There are currently no plans to introduce new functionality to Windows PowerShell,”</p><p><br></p><p>So once again MS doesn't want improve tools for their primary developer base to chase a new market of developers who interest is a dubious speculation. Because that strategy worked for them so well in the past?</p>

    • Jeremy Petzold

      13 January, 2018 - 1:13 pm

      <blockquote><a href="#237329"><em>In reply to skane2600:</em></a></blockquote><p>I think you should pay attention to the writing on the wall…..MS is trying to factor out as much Windows specific integration points from its technologies because it knows the future is that Windows will likely not be an end point OS in the next 15-20 years.</p>

      • skane2600

        14 January, 2018 - 1:52 pm

        <blockquote><a href="#237452"><em>In reply to Jeremy_Petzold:</em></a></blockquote><p>15 years is an eternity in tech. Besides, what's Microsoft's business case for .NET core on non-Windows platforms? Where's the revenue stream? Historically MS has never used their non-native tools to build any of their major applications. Not VB, not MFC, not .NET and so far, not UWP. Why would Linux devs who mostly hate Windows and Microsoft, embrace it?</p><p><br></p><p>I think MS' previous business oriented strategy has been replaced with a kind of "Let's do what all the cool kids are doing" approach. Unfortunately the "cool kids" don't really want to play with Microsoft.</p>

  • mrdrwest

    12 January, 2018 - 11:34 pm

    <p>Loaded the RC in WSL in November 2017. Works. Need to make time to do more experimenting.</p><p><br></p><p>PowerShell om Linux. Things are a changing!</p><p><br></p><p>Loading on W10 shortly.</p><p><br></p><p>Tip: pwsh launches a PoSh Core 6.0 session.</p>

  • mrdrwest

    12 January, 2018 - 11:36 pm

    <p>Loaded the RC in WSL in November 2017. Works. Need to make time to do more experimenting.</p><p>PowerShell om Linux. Things are a changing!</p><p>Loading on W10 shortly.</p><p>Tip: pwsh launches a PoSh Core 6.0 session.</p>

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2024 Thurrott LLC