How-to-simply...

Get Windows 10 ReleaseId Current Version Not Build Number in PowerShell

  • 1 (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').ReleaseId
  • N 1507 LTSB 2015 (Oct 2025)
    1607 LTSB 2016 (Oct 2026)
    1809 LTSC 2019 (Jan 2029)
    1904 LTSC 2021 21H2 (2027/IOT2032)

References