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:
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! 🙂