To check the version of a Windows 11 ISO file, you can use the Deployment Image Servicing and Management (DISM) tool. Open an elevated Windows Terminal by pressing Win+X and selecting Windows Terminal (Admin), then type the command: dism /Get-WimInfo /WimFile:G:\sources\boot.wim /index:1, replacing G: with the actual drive letter of your mounted ISO file or connected USB drive. This command will display detailed information about the boot.wim file, including the OS version contained within the ISO.