How to get the Windows Version of your ISO, CD, WIM or ESD

First you have to open an Admin command prompt.
Then enter:
dism /get-wiminfo /wimfile:”[pathOfCD]:\….

It could be either:
dism /get-wiminfo /wimfile:”D:\Sources\install.wim”
or
dism /get-wiminfo /wimfile:”D:\Sources\install.esd”

In case you got a ISO/CD with both x86 and x64, you need to add the folder of your edition also:
dism /get-wiminfo /wimfile:”D:\x64\Sources\install.wim”

Then you get something like this:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16383

Details for image : D:\Sources\install.esd

Index : 1
Name : Windows 10 Pro
Description : Windows 10 Pro
Size : 12,500,739,312 bytes

Index : 2
Name : Windows 10 Home
Description : Windows 10 Home
Size : 14,012,460,613 bytes

Now note down the Index of your edition you want and repeat the above command and add a /index:1 where you add the number of your desired edition.

dism /get-wiminfo /wimfile:”D:\Sources\install.wim” /index:1

This shows you the Windows version.