Search notes:

PowerShell: the automatic variable $psEdition

In PowerShell version 5.1 or higher, the value of $psEdition is either Core or Desktop. Below that version, this variable is inexistant.
Desktop indicates that PowerShell uses .NET Framework, Core indicates .NET Core .

See also

Other automatic variables

Index