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



