Quick Tip - Find available versions on .wim files


Just a quick tip for personal reference [as I keep forgetting it πŸ™‚ ].

You can easily find out which versions of the Windows OS are available on an install.wim file [generally found within a Windows ISO file] using the following command:

Get-WindowsImage -ImagePath <location of the install.wim file>

This will provide you both the Index number as well as the name of the version. It can come in handy when using other tools, such as [in my case] Convert-WindowsImage

Happy Scripting! πŸ™‚