UPDATE December 2019: Here is a blog post with a more advanced approach.
WindowsCentral.com posted a nice article about that and I turned it to a custom inventory field in my KACE K1000/SMA:
- Go to your software inventory and click the "Action" button and hit the "New" entry
- Type a name for the inventory rule and be sure to select at least every Windows 10 OS build in the "Supported Operating Systems" section. You may enable every Windows version starting with Windows 7.
- In the "Custom Inventory Rule" field enter
RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade,DownlevelBuildNumber,TEXT) - Save your new inventory rule and wait or force your machines to run a new inventory. You will find a value in the "Custom Inventory Fields" section under "Software", if the machine has been upgraded.
The value shows the build number this Windows installation has been upgraded from the last time.
If there is no value, the Windows installation was not upgraded with "in place upgrade".
If you are interested in a blog post about how to read the full build history from your machines, let me know.
Thank you. - jvleigh 6 years ago
https://www.itninja.com/blog/view/show-computers-windows-10-build-history - chrpetri 4 years ago