To find the Windows edition, version, and build from the ISO file, follow these steps-
Double-click on the ISO file.
Open the sources folder.
Find the install.wim file.
Copy the drive letter from the path.
Search for cmd in the Taskbar search box.
Select Run as administrator option.
Run dism /Get-WimInfo /WimFile:G:sourcesinstall.wim /index:1 command
Find the information.