Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What's the difference between windows powershell and powershell core 6?


Asked by Yahir Esparza on Dec 09, 2021 Windows



In a new section below, we discuss the differences of Windows PowerShell and PowerShell Core 6. In this article "Windows PowerShell" refers to the PowerShell versions that run on Windows until version 5.1. PowerShell Core or PowerShell 6 refers to the new cross-platform edition of PowerShell.
Also,
PowerShell Core runs on top of .NET Core, a cross-platform, open-source version of the code base powering most of the Windows world. This version of PowerShell will be different than the Windows PowerShell edition you see built into Windows today.
Consequently, With PowerShell Core installing side-by-side with Windows PowerShell, it's now possible to use a specific version of PowerShell with the PowerShell extension. This feature looks at a few well-known paths on different operating systems to discover installations of PowerShell. Use the following steps to choose the version:
In this manner,
SPE works with the Sitecore process, capable of making native calls to the Sitecore API. Running commands and writing scripts follow the standard and well-known Windows PowerShell syntax. Windows PowerShell is a common tool used in IT for desktop and server management, so we decided to stick with that as a framework to build upon.
Keeping this in consideration,
PowerShell Core is based on the CoreCLR whereas the previous versions of Windows PowerShell are based on FullCLR. New functionalities and features will be added to PowerShell Core first whereas Windows PowerShell will get only new updates for bugfixes. There are plenty of features that help us deciding to install PowerShell Core. Most notably: