Platform.IsCoreCLR Property

Definition

True if PowerShell was built targeting .NET Core.

public:
 static property bool IsCoreCLR { bool get(); };

Property Value

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0