{"id":16567488,"url":"https://github.com/jdhitsolutions/windowsupdatesetting","last_synced_at":"2025-03-21T11:33:13.798Z","repository":{"id":145021080,"uuid":"149618562","full_name":"jdhitsolutions/WindowsUpdateSetting","owner":"jdhitsolutions","description":"A set of PowerShell commands for configuring Windows Update settings on Windows 10 and 11 desktops.","archived":false,"fork":false,"pushed_at":"2023-08-09T20:47:54.000Z","size":201,"stargazers_count":33,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T01:03:33.599Z","etag":null,"topics":["powershell","windows-10","windows-11","windows-update"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/jdhitsolutions.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.txt","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}},"created_at":"2018-09-20T14:02:03.000Z","updated_at":"2024-05-29T04:14:16.000Z","dependencies_parsed_at":"2024-02-15T00:22:50.227Z","dependency_job_id":"f5a616fb-b219-4d4d-a316-de04e5e5c419","html_url":"https://github.com/jdhitsolutions/WindowsUpdateSetting","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FWindowsUpdateSetting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FWindowsUpdateSetting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FWindowsUpdateSetting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FWindowsUpdateSetting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdhitsolutions","download_url":"https://codeload.github.com/jdhitsolutions/WindowsUpdateSetting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244791865,"owners_count":20511018,"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":["powershell","windows-10","windows-11","windows-update"],"created_at":"2024-10-11T21:06:43.733Z","updated_at":"2025-03-21T11:33:13.528Z","avatar_url":"https://github.com/jdhitsolutions.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WindowsUpdateSetting\n\n[![PSGallery Version](https://img.shields.io/powershellgallery/v/WindowsUpdateSetting.png?style=for-the-badge\u0026label=PowerShell%20Gallery)](https://www.powershellgallery.com/packages/WindowsUpdateSetting/) [![PSGallery Downloads](https://img.shields.io/powershellgallery/dt/WindowsUpdateSetting.png?style=for-the-badge\u0026label=Downloads)](https://www.powershellgallery.com/packages/WindowsUpdateSetting/)\n\nThe PowerShell commands in this module are intended to make it easier to automate the process of pausing and resuming Windows Updates on a Windows 10 desktop as well as a few other update-related settings. This module will not work on Windows 10 Home. If you are running Windows 10 Enterprise, your settings may be managed via Group Policy, in which case you won't be able to use this module.\n\nYou can install the latest version of this module from the PowerShell Gallery.\n\n```powershell\nInstall-Module WindowsUpdateSetting\n```\n\nThe module should work on PowerShell 7 running on a Windows platform.\n\n## Command Overview\n\n- [Get-WindowsActiveHours](./docs/Get-WindowsActiveHours.md)\n- [Get-WindowsUpdateDeferral](./docs/Get-WindowsUpdateDeferral.md)\n- [Get-WindowsUpdateSetting](./docs/Get-WindowsUpdateSetting.md)\n- [Resume-WindowsUpdate](./docs/Resume-WindowsUpdate.md)\n- [Set-WindowsActiveHours](./docs/Set-WindowsActiveHours.md)\n- [Set-WindowsUpdateDeferral](./docs/Set-WindowsUpdateDeferral.md)\n- [Suspend-WindowsUpdate](./docs/Suspend-WindowsUpdate.md)\n- [Test-IsWindowsUpdatePaused](./docs/Test-IsWindowsUpdatePaused.md)\n\n## Suspend and Resume Windows Updates\n\nNormally, you would use Settings to pause Windows Update for 35 days.\n\n![settings](assets/settings.png)\n\nYou can use this module to toggle that setting from a PowerShell prompt.\n\n```powershell\nPS C:\\\u003e Suspend-WindowsUpdate -passthru\n\n   Computername: PROSPERO\n\nPaused   PauseStartUTC          PauseEndUTC             TimeRemaining\n------   -------------          -----------             -------------\nTrue     8/9/2023 8:27:34 PM    9/13/2023 8:27:34 PM      35.03:59:59\n```\n\nOr you can specify a date, as long as it is less than 35 days. Use `Get-WindowsUpdateSetting` to view the current values or `Test-IsWindowsUpdatePaused` to test.\n\n## Configure Active Hours\n\nThis module also contains commands to set your active hours.\n\n![set active hours](assets/activehours.png)\n\n```powershell\nPS C:\\\u003e Get-WindowsActiveHours\n\nComputername         Start        End\n------------         -----        ---\nPROSPERO          06:00 AM   10:00 PM\n\n\nPS C:\\\u003e Set-WindowsActiveHours -StartTime 8:00 -EndTime 20:00 -Passthru\n\nComputername         Start        End\n------------         -----        ---\nPROSPERO          08:00 AM   08:00 PM\n```\n\n## Configure Update Deferral\n\nThe module also contains commands to manage deferrals of certain updates.\n\n![deferrals](assets/deferrals.png)\n\nYou can view and modify these settings.\n\n```powershell\nPS C:\\\u003e Get-WindowsUpdateDeferral\n\nComputername FeatureUpdateDeferral QualityUpdateDeferral\n------------ --------------------- ---------------------\nBOVINE320                       30                     7\n\n\nPS C:\\\u003e Set-WindowsUpdateDeferral -Feature 0 -Quality 0 -Passthru\n\nComputername FeatureUpdateDeferral QualityUpdateDeferral\n------------ --------------------- ---------------------\nBOVINE320                       30                     7\n```\n\n**You should test all of these commands on a non-production system.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdhitsolutions%2Fwindowsupdatesetting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdhitsolutions%2Fwindowsupdatesetting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdhitsolutions%2Fwindowsupdatesetting/lists"}