Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

V6 1 4 PowerShell Core Release Info

· 7 min read · Home Tech

In this article
  1. Background: What PowerShell Core Is
  2. Key Changes in 6.1.4
  3. How to Install or Upgrade to 6.1.4
  4. Compatibility and Differences from Windows PowerShell
  5. Why 6.1.4 Matters for Scripting
  6. Common Issues and Troubleshooting
  7. Alternatives and Successors
  8. Frequently Asked Questions

V6 1 4 refers to PowerShell Core 6.1.4, a patch release of Microsoft's cross-platform automation framework, published on February 13, 2019. This version is significant because it was one of the final updates in the 6.1 series before the 6.2 release, and it addressed several bugs while remaining a stable, long-term support (LTS) candidate for enterprise users.

Background: What PowerShell Core Is

PowerShell Core is the open-source, cross-platform edition of PowerShell, built on .NET Core rather than the Windows-only .NET Framework. It was first released in 2016 as PowerShell 6.0, aiming to bring the power of PowerShell to Linux and macOS, while also modernizing the language. The version numbering "6.1.4" follows the semantic versioning scheme: major version 6, minor version 1, and patch version 4. The "Core" designation distinguishes it from Windows PowerShell 5.1, the last version of the classic Windows-only edition.

PowerShell Core 6.1.4 was a servicing release, meaning it contained no new features but focused on bug fixes and reliability improvements. It was distributed for Windows, Linux, and macOS, and could be installed via package managers like choco, apt, yum, and brew, or downloaded as a binary from GitHub.

Key Changes in 6.1.4

The release notes for PowerShell Core 6.1.4 (available on the PowerShell GitHub repository) list a handful of fixes, mostly addressing regressions and edge-case bugs. Some notable changes include:

  • Fixed an issue where the Get-Help cmdlet could fail on certain systems due to a culture-specific formatting problem.
  • Corrected a bug in the Start-Job cmdlet that caused jobs to fail when the working directory contained special characters.
  • Improved the behavior of Invoke-WebRequest when handling responses with missing content-type headers.
  • Addressed a memory leak in the PowerShell engine that occurred when using the ForEach-Object -Parallel feature (introduced in 6.1.0).
  • Fixed a crash that could happen when using Import-Csv with malformed data.

These fixes were critical for organizations that had adopted PowerShell Core in production, as they improved stability and compatibility with existing scripts.

How to Install or Upgrade to 6.1.4

If you were running an earlier version of PowerShell Core 6.x, upgrading to 6.1.4 was straightforward. The recommended method was to use the package manager for your operating system:

  1. Windows: Run choco upgrade powershell-core if you used Chocolatey, or download the MSI installer from GitHub and run it.
  2. Linux (Ubuntu/Debian): Use sudo apt-get update && sudo apt-get install -y powershell if you had the Microsoft repository configured; otherwise, download the .deb package.
  3. macOS: Use brew upgrade powershell (if installed via Homebrew) or download the .pkg file.

After installation, you could verify the version by running $PSVersionTable in the PowerShell prompt. The output would show PSVersion as 6.1.4.

Compatibility and Differences from Windows PowerShell

PowerShell Core 6.1.4 was not a drop-in replacement for Windows PowerShell 5.1. It lacked some modules and features that were Windows-specific, such as the ActiveDirectory module (which required a separate module) and the WMI cmdlets (replaced by CIM). It also had differences in default behavior: for example, Get-ChildItem on Linux did not show hidden files by default, and path separators followed the platform convention.

However, it introduced several improvements over Windows PowerShell:

  • Support for the ForEach-Object -Parallel construct, enabling simple parallel processing.
  • Native SSH-based remoting (in addition to WinRM) on all platforms.
  • Better handling of non-Windows file paths and line endings.
  • Integration with .NET Core, allowing the use of modern .NET libraries.

These differences meant that scripts written for Windows PowerShell might require minor adjustments to run under Core, especially if they relied on Windows-specific modules or assumed case-insensitive file systems.

Why 6.1.4 Matters for Scripting

For script developers, 6.1.4 was a solid, bug-fixed version that could be used as a baseline for cross-platform automation. The fixes in this release reduced unexpected failures in CI/CD pipelines and server automation tasks. For example, the Start-Job fix was important for scripts that spawned background jobs from directories with spaces or brackets, which is common in build environments.

Additionally, 6.1.4 was the last release in the 6.1 line to receive servicing updates (the next release, 6.2, came out in March 2019). This made it a stable choice for organizations that preferred to stay on a minor version for a while. However, it was not an LTS version; the first LTS release was PowerShell 7.0 (based on .NET Core 3.1), so 6.1.4 was effectively a transitional version.

Common Issues and Troubleshooting

Users upgrading to 6.1.4 occasionally encountered issues, most of which were easy to resolve:

  • Module not found: If you previously installed modules for Windows PowerShell, they were not automatically available in Core. You needed to install them again using Install-Module -Name <module> -Scope CurrentUser.
  • Execution policy errors on Windows: PowerShell Core respects the execution policy, but it uses a separate profile. If you had set a policy for Windows PowerShell, you might need to set it again for Core using Set-ExecutionPolicy RemoteSigned -Scope CurrentUser.
  • Missing .NET assemblies: Some cmdlets that relied on Windows-specific .NET Framework assemblies were not available. Check the Compatibility section of the docs for alternatives.
  • Performance on Linux: If you noticed slower startup times, it was often due to the lack of a native AOT compilation; this was improved in later versions.

If you encountered a bug, the best course was to report it on the PowerShell GitHub repository, but for most users, upgrading to the next patch (6.1.5 or 6.2) resolved lingering issues.

Alternatives and Successors

PowerShell Core 6.1.4 is now obsolete, but it set the stage for the current PowerShell 7.x series. PowerShell 7 (released in 2020) is built on .NET Core 3.1 (and later .NET 5/6/7), and it brought back many Windows PowerShell features that were missing in Core, such as the Out-GridView cmdlet (though only on Windows). It also introduced new features like ForEach-Object -Parallel and the Ternary operator.

For users who need the latest features and security updates, upgrading to PowerShell 7.x is strongly recommended. However, some legacy scripts may still rely on Windows PowerShell 5.1, which remains supported on Windows as a separate tool. The two versions coexist peacefully, and you can invoke either by running pwsh (for Core) or powershell.exe (for Windows PowerShell).

Frequently Asked Questions

Is PowerShell Core 6.1.4 still supported?
No. PowerShell Core 6.1.4 reached end-of-life when the 6.1 series ended support in September 2019. Microsoft's support policy for PowerShell Core 6.x was short, and only the LTS versions (7.0 and later) received extended support. You should upgrade to a supported version like PowerShell 7.4.

Can I run PowerShell Core 6.1.4 on Windows Server 2019?
Yes, it runs on Windows Server 2019, as well as Windows 10 and 11. However, you must ensure you have the .NET Core runtime dependencies installed, which the installer typically handles. For server deployments, consider using the MSI with the ENABLE_PSREMOTING option for remoting.

What is the difference between PowerShell Core and Windows PowerShell?
PowerShell Core is cross-platform (Windows, Linux, macOS) and built on .NET Core, while Windows PowerShell is Windows-only and built on .NET Framework. Core has better performance, supports new features, but lacks some Windows-specific modules like ActiveDirectory (though you can install the module separately). Windows PowerShell 5.1 is still included with Windows and is maintained for compatibility.

How do I update from PowerShell Core 6.1.4 to a newer version?
You can update using the same installation method you used originally. For example, on Windows, run choco upgrade powershell-core or download the latest MSI from the GitHub releases page. On Linux, use sudo apt-get update && sudo apt-get install -y powershell if you have the Microsoft repo. The installer will replace the old version.

Will my PowerShell scripts written for 6.1.4 work in PowerShell 7?
Mostly yes, but there are some breaking changes. For instance, the ForEach-Object -Parallel syntax remains, but some cmdlets have changed behavior. Microsoft provides a compatibility report via Import-Module WindowsCompatibility to help identify issues. It's best to test scripts in a staging environment before upgrading.

Why did Microsoft release so many point versions of PowerShell Core?
Because PowerShell Core was still evolving rapidly, and Microsoft wanted to deliver fixes and features incrementally. The 6.x series was a transition period, and the team was gathering feedback from the community to shape the final 7.0 release. The frequent releases also allowed them to address security vulnerabilities quickly.