Use PowerShell to determine the Windows version on DVD, ISO, or USB installation media

You're preparing to load an operating system. You find installation media for an unknown version of Windows. It's not labeled. How do you determine the version of Windows on the installation media?

installation-media-os-version1a.jpg

You can use the Get-WindowsImage cmdlet to determine the Windows version of installation media. This cmdlet is part of the Dism PowerShell module. It can be used with Windows PowerShell 5.1 and PowerShell 7 on Windows operating systems.

1Get-WindowsImage -ImagePath F:\sources\install.win

installation-media-os-version2a.jpg

µ