Merge pull request #1228 from miketimofeev/v-mitim/add_wsl_condition

[Windows] Remove WSL from software output on Windows 2016
This commit is contained in:
Maxim Lobanov
2020-07-15 09:19:10 +03:00
committed by GitHub

View File

@@ -22,10 +22,13 @@ $markdown += New-MDList -Style Unordered -Lines @(
"Image Version: $env:ImageVersion"
)
$markdown += New-MDHeader "Enabled windows optional features" -Level 2
$markdown += New-MDList -Style Unordered -Lines @(
"Windows Subsystem for Linux"
)
if (Test-IsWin19)
{
$markdown += New-MDHeader "Enabled windows optional features" -Level 2
$markdown += New-MDList -Style Unordered -Lines @(
"Windows Subsystem for Linux"
)
}
$markdown += New-MDHeader "Installed Software" -Level 2
$markdown += New-MDHeader "Language and Runtime" -Level 3