[Windows] Add WSL2 to Windows-2025 image (#11242)

This commit is contained in:
Alexey-Ayupov
2024-12-30 11:11:22 +01:00
committed by GitHub
parent 0a970d8e11
commit 5e69d9c205
6 changed files with 33 additions and 3 deletions

View File

@@ -318,3 +318,7 @@ function Get-ImageMagickVersion {
function Get-MongoshVersion {
return $(mongosh --version)
}
function Get-WSL2Version {
return $((Get-AppxPackage -Name "MicrosoftCorporationII.WindowsSubsystemForLinux").version)
}