From Windows-Only Tool to Cross-Platform Shell
Windows PowerShell launched in November 2006. Microsoft built it as a Windows-only tool for task automation and configuration management, on top of the .NET Framework. Jeffrey Snover designed it to fix the limits of the Windows command line. He took cues from Unix shells like Bash, but focused on object-oriented pipelines. Cmdlets handled structured data through Windows Management Instrumentation (WMI) and the Component Object Model (COM). Early versions (1.0 to 5.1) were tied to Windows. PowerShell 5.1, released in 2016, was the last Windows-exclusive version. It added Desired State Configuration (DSC) and OneGet, later renamed PackageManagement, for package management. Linux support was nonexistent.
The turn toward Linux began with Microsoft's "Microsoft Loves Linux" initiative. This marked a strategic pivot to embrace (sic!) open-source and cross-platform technology. In August 2016, Microsoft announced PowerShell Core 6.0. It was open-source and cross-platform, built on .NET Core (now .NET), released under the MIT License, and hosted on GitHub. This was PowerShell's debut on Linux and macOS. Microsoft announced it with enthusiasm on platforms like X, highlighting its goal to unify admin tools across operating systems. PowerShell Core 6.0 shipped in January 2018. It supported major Linux distributions such as Ubuntu, Debian, and CentOS. But it dropped some Windows-specific cmdlets, which limited its adoption on Windows even as it gained traction among Linux users.
PowerShell Core 6.1 and 6.2 came out in 2018 and 2019. They focused on bug fixes, performance gains, and better compatibility with Windows cmdlets. Microsoft claimed support for over 1,900 cmdlets in Windows 10 and Server 2019, but full parity with Windows PowerShell 5.1 stayed out of reach. By 2020, PowerShell 7.0 arrived as the unified successor to both PowerShell Core and Windows PowerShell. It aimed for near-complete compatibility with Windows modules while keeping cross-platform support. Built on .NET Core 3.1, it restored many cmdlets and added pipeline parallelization. PowerShell 7.0 and later versions (7.1 to 7.4) cemented its place on Linux. Gains included SSH-based remoting and better Linux command integration through aliases like ls for Get-ChildItem, though some Unix aliases were removed to avoid confusion.
The transition wasn't flawless. Linux users hit problems like case-sensitive file paths. They also couldn't use sudo directly inside PowerShell, and needed workarounds like sudo pwsh for elevated commands. Even so, PowerShell's object-oriented approach appealed to Linux admins. It uses .NET objects instead of text-based output, which helps with tasks like parsing JSON or managing remote systems via WS-Management and CIM. As of 2025, PowerShell 7.4.6 is the latest version. It is actively maintained with community contributions via GitHub, supports a wide range of Linux distributions, and enables automation across Windows, Linux, and macOS.
PowerShell's path to Linux reflects Microsoft's shift from a Windows-centric mindset to embracing (sic!) open-source collaboration. The need to manage hybrid cloud environments like Microsoft Azure drove this change. Linux purists were skeptical at first, but adoption has grown. It is used most for managing mixed OS infrastructures. That proves PowerShell's versatility beyond its Windows roots.