There are two editions of PowerShell:
- Desktop Edition: This version uses the full .NET CLR. It is primarily used in Windows Desktop and Core Server environments.
- Core Edition: This version uses .NET Core. It is primarily used in Windows IoT and Nano Server environments.
The $PSVersionTable variable holds the information for the currently used PSVersion and PSEdition.
The same terminology can be observed with Windows PowerShell versus PowerShell Core:
- Windows PowerShell is built on top of the .NET Framework:
- Versions 1 to 5.1
- Available on Windows and Windows Server only
- Delivered as a built-in component and via WMF
- Built on top of the .NET Framework (also known as FullCLR)
- $PSVersionTable.PSEdition is set to Desktop ...