{"id":23337420,"url":"https://github.com/smalls1652/smallsonline.windowsbuildnumbers","last_synced_at":"2026-05-07T18:39:49.481Z","repository":{"id":103561246,"uuid":"558948397","full_name":"Smalls1652/SmallsOnline.WindowsBuildNumbers","owner":"Smalls1652","description":"Get Windows 10/11 build info easily.","archived":false,"fork":false,"pushed_at":"2024-02-13T20:57:41.000Z","size":79,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T13:12:50.171Z","etag":null,"topics":["csharp","powershell","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Smalls1652.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-28T16:57:44.000Z","updated_at":"2022-12-02T21:22:08.000Z","dependencies_parsed_at":"2025-02-13T15:50:47.377Z","dependency_job_id":"c6ba502a-8401-4ddc-b5a1-860216419e95","html_url":"https://github.com/Smalls1652/SmallsOnline.WindowsBuildNumbers","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smalls1652%2FSmallsOnline.WindowsBuildNumbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smalls1652%2FSmallsOnline.WindowsBuildNumbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smalls1652%2FSmallsOnline.WindowsBuildNumbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Smalls1652%2FSmallsOnline.WindowsBuildNumbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Smalls1652","download_url":"https://codeload.github.com/Smalls1652/SmallsOnline.WindowsBuildNumbers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657266,"owners_count":20974345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","powershell","windows"],"created_at":"2024-12-21T02:17:20.067Z","updated_at":"2026-05-07T18:39:44.458Z","avatar_url":"https://github.com/Smalls1652.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get Windows Build Numbers\n\nEasily get build numbers for Windows 10/11 feature updates through automated means.\n\n## 🤔 Why make this?\n\nSo what's one thing that can be obnoxious with updating compliance policies in Microsoft Intune? Not being able to easily update the build numbers for in-service Windows releases easily. I initially wrote [a PowerShell script](https://gist.github.com/Smalls1652/1e00193fb51bbf85ff18b41fe33fad0d) in late 2020/early 2021 that would get the Windows 10 feature updates, build numbers (Based on the quality updates for their respective feature updates), and their servicing support status, but it eventually got complicated to update as a single PowerShell script. I could have converted the entire thing into a pure script-based PowerShell module, but I've got other plans for using this outside of PowerShell.\n\nAs far as I'm aware, Microsoft doesn't provide a simple API or utility to get this information. It's all web-based, which makes automation harder when you need to use that data.\n\n## ⚙️ How does it work?\n\nIt's very simple, but also very complicated. Data is gathered from these sources:\n\n- [Windows Release Health dashboard](https://learn.microsoft.com/en-us/windows/release-health/)\n- Microsoft's lifecycle pages:\n  - [Windows 10 Home and Pro (Consumer)](https://learn.microsoft.com/en-us/lifecycle/products/windows-10-home-and-pro)\n  - [Windows 10 Enterprise and Education (Enterprise)](https://learn.microsoft.com/en-us/lifecycle/products/windows-10-enterprise-and-education)\n  - [Windows 11 Home and Pro (Consumer)](https://learn.microsoft.com/en-us/lifecycle/products/windows-11-home-and-pro)\n  - [Windows 11 Enterprise and Education (Enterprise)](https://learn.microsoft.com/en-us/lifecycle/products/windows-11-enterprise-and-education)\n\nData is scraped from these pages using regular expressions and returned with this data:\n\n- The feature update's release name (Eg. 21H2)\n- The end-of-life date for both the consumer and enterprise releases and whether or not it is currently end-of-life.\n- A collection of all of the quality updates released for that release.\n  - Data returned is:\n    - The build number\n    - The servicing channels it has been released to.\n    - The date it was released on and whether or not it's a _\"Patch Tuesday\"_ release.\n    - The KB article ID and it's URL.\n\n## 🛒 Current availability\n\nRight now there are two components currently available for use:\n\n- A standard class library that drives the core functionality of getting the data.\n- A PowerShell module for using through a command-line interface (CLI).\n\n### Nuget package\n\n\u003e **⚠️ Note**\n\u003e  \n\u003e A Nuget package has not been published yet.\n\n### PowerShell Module\n\nYou can install the [PowerShell module from the PowerShell Gallery](https://www.powershellgallery.com/packages/SmallsOnline.WindowsBuildNumbers.Pwsh) by running the following command in a PowerShell console:\n\n```powershell\nInstall-Module -Name \"SmallsOnline.WindowsBuildNumbers.Pwsh\"\n```\n\nOnce installed, you can run commands like so:\n\n#### Example 01\n\nGet all release info for Windows 10.\n\n```powershell\nPS \u003e Get-WindowsReleaseInfo -WindowsVersion Windows10\n```\n\n```text\nReleaseName       : 22H2\nConsumerEoLDate   : 5/14/2024 10:59:59 PM -08:00\nConsumerIsEoL     : False\nEnterpriseEoLDate : 5/13/2025 10:59:59 PM -08:00\nEnterpriseIsEoL   : False\nReleaseBuilds     : {19045.2311, 19045.2251, 19045.2130}\n\nReleaseName       : 21H2\nConsumerEoLDate   : 6/13/2023 10:59:59 PM -08:00\nConsumerIsEoL     : False\nEnterpriseEoLDate : 6/11/2024 10:59:59 PM -08:00\nEnterpriseIsEoL   : False\nReleaseBuilds     : {19044.2311, 19044.2251, 19044.2194, 19044.2193…}\n\n[...]\n```\n\n#### Example 02\n\nGet all release info for Windows 11.\n\n```powershell\nPS \u003e Get-WindowsReleaseInfo -WindowsVersion Windows11\n```\n\n```text\nReleaseName       : 22H2\nConsumerEoLDate   : 10/8/2024 10:59:59 PM -08:00\nConsumerIsEoL     : False\nEnterpriseEoLDate : 10/14/2025 10:59:59 PM -08:00\nEnterpriseIsEoL   : False\nReleaseBuilds     : {22621.900, 22621.819, 22621.755, 22621.675…}\n\nReleaseName       : 21H2\nConsumerEoLDate   : 10/10/2023 10:59:59 PM -08:00\nConsumerIsEoL     : False\nEnterpriseEoLDate : 10/8/2024 10:59:59 PM -08:00\nEnterpriseIsEoL   : False\nReleaseBuilds     : {22000.1281, 22000.1219, 22000.1165, 22000.1100…}\n```\n\n#### Example 03\n\nGet the release info for a specific feature update release of Windows 11 and list all quality update builds for that feature update.\n\n```powershell\nPS \u003e $win11Release = Get-WindowsReleaseInfo -WindowsVersion Windows11 -ReleaseName \"22H2\"\n\nPS \u003e $win11Release\n```\n\n```text\nReleaseName       : 22H2\nConsumerEoLDate   : 10/8/2024 10:59:59 PM -08:00\nConsumerIsEoL     : False\nEnterpriseEoLDate : 10/14/2025 10:59:59 PM -08:00\nEnterpriseIsEoL   : False\nReleaseBuilds     : {22621.900, 22621.819, 22621.755, 22621.675…}\n```\n\n```powershell\nPS \u003e $win11Release.ReleaseBuilds\n```\n\n```text\nBuildNumber           : 22621.900\nServicingChannels     : {General Availability Channel}\nReleaseDate           : 11/29/2022 6:00:00 PM +00:00\nIsPatchTuesdayRelease : False\nKbArticleId           : KB5020044\nKbArticleUrl          : https://support.microsoft.com/help/5020044\n\nBuildNumber           : 22621.819\nServicingChannels     : {General Availability Channel}\nReleaseDate           : 11/8/2022 6:00:00 PM +00:00\nIsPatchTuesdayRelease : True\nKbArticleId           : KB5019980\nKbArticleUrl          : https://support.microsoft.com/help/5019980\n\nBuildNumber           : 22621.755\nServicingChannels     : {General Availability Channel}\nReleaseDate           : 10/25/2022 6:00:00 PM +00:00\nIsPatchTuesdayRelease : False\nKbArticleId           : KB5018496\nKbArticleUrl          : https://support.microsoft.com/help/5018496\n\nBuildNumber           : 22621.675\nServicingChannels     : {General Availability Channel}\nReleaseDate           : 10/18/2022 6:00:00 PM +00:00\nIsPatchTuesdayRelease : False\nKbArticleId           : KB5019509\nKbArticleUrl          : https://support.microsoft.com/help/5019509\n\nBuildNumber           : 22621.674\nServicingChannels     : {General Availability Channel}\nReleaseDate           : 10/11/2022 6:00:00 PM +00:00\nIsPatchTuesdayRelease : True\nKbArticleId           : KB5018427\nKbArticleUrl          : https://support.microsoft.com/help/5018427\n\n[...]\n```\n\n## 🧮 Plans for the future\n\nIn the future, I am planning two extra pieces:\n\n- A public web API.\n- A public website for viewing the data.\n\nAll of which will be open-source for your own use-cases, such as self-hosting or utlizing in your own projects.\n\n## 🏗️ Building from source\n\n### 🧰 Pre-requistites\n\n- [.NET 7 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)\n  - .NET 6 is the minimum SDK version for the class library, but, in the future, the API and public website will be targeting .NET 7 and future releases as they come out.\n\n## 🤝 License\n\nThis project is licensed under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmalls1652%2Fsmallsonline.windowsbuildnumbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmalls1652%2Fsmallsonline.windowsbuildnumbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmalls1652%2Fsmallsonline.windowsbuildnumbers/lists"}