Skip to content

Commit

Permalink
Displays build version of input ISO (#3015)
Browse files Browse the repository at this point in the history
  • Loading branch information
Warrentheo authored Nov 7, 2024
1 parent 9778c0d commit bbc18b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/microwin/Invoke-Microwin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public class PowerManagement {
}

$imgVersion = (Get-WindowsImage -ImagePath $mountDir\sources\install.wim -Index $index).Version
Write-Host "The Windows Image Build Version is: $imgVersion"

# Detect image version to avoid performing MicroWin processing on Windows 8 and earlier
if ((Microwin-TestCompatibleImage $imgVersion $([System.Version]::new(10,0,10240,0))) -eq $false) {
Expand Down

0 comments on commit bbc18b2

Please sign in to comment.