Windows build number check

Discussion in 'Scripting' started by jim_p, Dec 7, 2023.

  1. jim_p

    jim_p MDL Senior Member

    Dec 11, 2013
    474
    178
    10
    Hello and sorry for bringing this back to the surface. Is there a command that would report the kernel version? E.g. 6.1 for w7, 10 for w11 and w11 and so on?
     
  2. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    7,268
    8,910
    240
    VER in the command line reports it. Kernel version could be easily filtered out, I guess.

    Code:
    Microsoft Windows [Version 6.1.7601]
    Code:
    Microsoft Windows [Version 10.0.19045.6093]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...