Microsoft introduced the overall availability of PowerShell Core 6.zero on January 10, 2018.
PowerShell Core is a brand new model of PowerShell, a command-line shell and scripting language that ships with Microsoft Home windows.
The discharge of PowerShell Core will increase the variety of PowerShell editions to 2. There may be the decade-old PowerShell that’s built-in into all current variations of Microsoft’s Home windows working system and the brand new PowerShell Core.
Microsoft sees PowerShell Core as an evolution of PowerShell. The previous is offered as a cross-platform utility, the latter just for Home windows.
The cross-platform nature of PowerShell Core signifies that scripts that you simply write will run on any supported working system. You’ll be able to write PowerShell Core scripts on Home windows, and use them on supported Mac OS X or Linux units. There are even experimental (unsupported) variations for ARM units.
Microsoft works actively on PowerShell Core. PowerShell, however, is in a state that may greatest be in comparison with prolonged help for Home windows variations. Microsoft has no plans so as to add options to PowerShell, however it’s going to launch crucial bug fixes and safety updates.
Nevertheless, there are at the moment no plans to introduce new performance to Home windows PowerShell. Which means that the chance of regression will likely be very low for Home windows PowerShell, so you may depend on it as a steady platform on your current workloads.
PowerShell Core installs facet by facet on Home windows. In brief: PowerShell Core doesn’t have an effect on Home windows PowerShell in any manner on Home windows units.
PowerShell Core 6.zero isn’t as highly effective as PowerShell 5.1. One core cause for that’s that PowerShell has entry to the .NET Framework and .NET Normal whereas PowerShell Core to the less-feature-rich .NET Core and .NET Normal.
Some applied sciences out there to Home windows PowerShell will not be supported by .NET Core. Microsoft notes that among the applied sciences could return in future releases however that this received’t be the case for all of them.
The corporate mentions PowerShell Workflows, PowerShell Snap-ins, WMlv1 cmdlets and executing Desired State Configuration assets particularly. The Breaking adjustments for PowerShell 6.zero doc affords additional particulars.
The variations between PowerShell and PowerShell Core
|Variations||1.zero to five.1||6.zero|
|Platforms||Home windows solely (consumer and server)||Home windows, Mac OS, Linux|
|Dependency||.Web Framework||.Web Core|
|Utilization||Depends on .Web Framework runtime||Depends on .Web Core runtime|
|Launched as||powershell.exe||pwsh.exe (Home windows), pwsh (Mac and Linux)|
|$PSVersionTable.PSEdition||Set to Desktop||Set to Core|
|Replace coverage||crucial bug fixes solely||all updates (options, bugs)|