Here's another version of what's been shared to get the info you are looking for....
Here's the SQL query with the Case Statement for the Windows 10 Version Number for the output above
select
id.[OS Build Number] [OS Build]
,CASE
WHEN [OS Build Number] = 10240 THEN '1507'
WHEN [OS Build Number] = 10586 THEN '1511'
WHEN [OS Build Number] = 14393 THEN '1607'
WHEN [OS Build Number] = 15063 THEN '1703'
WHEN [OS Build Number] = 16299 THEN '1709'
WHEN [OS Build Number] in (17134,17133) THEN '1803'
WHEN [OS Build Number] in (17661,17692,17763) THEN '1809'
WHEN [OS Build Number] in (18282,18362) THEN '1903'
WHEN [OS Build Number] in (18363) THEN '1909'
WHEN [OS Build Number] in (19041) THEN '2004'
WHEN [OS Build Number] in (19042) THEN '20H2'
WHEN [OS Build Number] in (19043) THEN '21H1'
WHEN [OS Build Number] in (20215) THEN '21H2'
END [Version]
,count(*) Installs
from vcomputer vc
join Inv_AeX_AC_Identification id on id._resourceguid = vc.guid
where vc.[OS Name] like '%Windows 10%' and id.[OS Build Number] is not null
group by id.[OS Build Number]
Original Message:
Sent: 10-11-2016 11:42 AM
From: David Heinz
Subject: OS Version and OS Build data needed
Hello all,
I've been trying to locate a table that specifically references the Windows Version and OS Build information (see attached). This is not the OS name and edition; but version and OS Build.
I've been unsuccessful so far.
Does anyone know which table/tables has that information?
Thanks for any assistance.
-David