Posted in
Windows Powershell |
No Comment | 1,920 views | 16/01/2016 15:20
You can simply check .NET Core status with following code:
1
2
3
4
5
| # Check PSEdition
if ($PSVersionTable.PSEdition -eq "Core")
{
Write-Host "Core Edition";
} |
# Check PSEdition
if ($PSVersionTable.PSEdition -eq "Core")
{
Write-Host "Core Edition";
}
You can check it on Nano server.