WingetBatch
2.1.2
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2025 Matthew Bubb. All rights reserved.
Package Details
Author(s)
- Matthew Bubb
Tags
winget package-manager windows batch-install utility github-api interactive cache updates PwshSpectreConsole
Functions
Install-WingetAll Get-WingetNewPackages Get-WingetUpdates Enable-WingetUpdateNotifications Disable-WingetUpdateNotifications Set-WingetBatchGitHubToken New-WingetBatchGitHubToken Remove-WingetRecent Export-WingetBatchConfig Import-WingetBatchConfig Invoke-WingetBatchCleanup Update-WingetBatch
Dependencies
This module has no dependencies.
Release Notes
v2.0.0 - Major Feature Release
- NEW: Get-WingetNewPackages - Discover recently added packages from winget-pkgs GitHub repository
* GitHub API integration with pagination support
* Parallel background job system (max 10 concurrent) for fetching package details
* Smart job waiting - only waits for jobs with selected packages
* 30-day package details caching system for faster repeat searches
* Comprehensive package info: Version, Publisher, GitHub links, License, Pricing, Release Notes, and 20+ fields
* Interactive re-selection with preserved package information
* Exclusion filter support to hide specific packages/publishers
* API rate limit tracking with hourly rollover
* GitHub token support for 5,000 req/hour (vs 60 unauthenticated)
- NEW: Remove-WingetRecent - Uninstall recently installed packages by date
* Reads from Windows Registry (HKLM/HKCU Uninstall keys)
* Filter by installation date (e.g., -Days 7 for last week)
* Interactive selection of packages to remove
- ENHANCED: Install-WingetAll
* Now uses --silent flag for cleaner output
* Improved error handling and reporting
- ENHANCED: Profile Integration
* Background update checks with cached results
* 30-minute cache TTL for update notifications
- NEW: Token Management
* Set-WingetBatchGitHubToken - Store GitHub PAT securely (AES encrypted CliXml)
* New-WingetBatchGitHubToken - Interactive token creation wizard with masked input
- FIXED: Date parsing bug in API rate limit tracking (timezone handling)
- FIXED: Package selection workflow when going back to change selections
Configuration stored in: ~/.wingetbatch/
- config.json - Update notification settings
- github_token.clixml - Secure GitHub Personal Access Token
- github_ratelimit.json - API usage tracking
- package_cache.json - 30-day package details cache
- update_cache.json - Cached update results
Requires: PowerShell 5.1+, winget CLI, PwshSpectreConsole (auto-installs if missing)
FileList
- WingetBatch.nuspec
- .Jules\bolt.md
- .Jules\palette.md
- .github\workflows\publish.yml
- LICENSE
- Private\ConvertTo-SpectreEscaped.ps1
- Private\Get-GitHubApiRequestCount.ps1
- Private\Get-PackageDetailsCache.ps1
- Private\Get-WingetBatchConfigDir.ps1
- Private\Get-WingetBatchGitHubToken.ps1
- Private\Parse-WingetShowOutput.ps1
- Private\Set-PackageDetailsCache.ps1
- Private\Show-WingetPackageDetails.ps1
- Private\Start-PackageDetailJobs.ps1
- Private\Start-WingetBatchJob.ps1
- Private\Start-WingetUpdateCheck.ps1
- Private\Update-GitHubApiRequestCount.ps1
- Public\Disable-WingetUpdateNotifications.ps1
- Public\Enable-WingetUpdateNotifications.ps1
- Public\Export-WingetBatchConfig.ps1
- Public\Get-WingetNewPackages.ps1
- Public\Get-WingetUpdates.ps1
- Public\Import-WingetBatchConfig.ps1
- Public\Install-WingetAll.ps1
- Public\Invoke-WingetBatchCleanup.ps1
- Public\New-WingetBatchGitHubToken.ps1
- Public\Remove-WingetRecent.ps1
- Public\Set-WingetBatchGitHubToken.ps1
- Public\Update-WingetBatch.ps1
- README.md
- WingetBatch.exe
- WingetBatch.psd1
- WingetBatch.psm1
- WingetBatch_Standalone.ps1
- benchmark.ps1
- benchmark_parser.ps1
- build.ps1
- measure_group.ps1
- measure_install.ps1
- test_hashset.ps1
- test_ux.ps1
- tests\ConvertTo-SpectreEscaped.Tests.ps1
- tests\Get-WingetBatchConfigDir.Tests.ps1
- tests\Parse-WingetShowOutput.Tests.ps1
- tests\Show-WingetPackageDetails.Tests.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.2.1 | 7 | 5/8/2026 |
| 2.2.0 | 29 | 5/4/2026 |
| 2.1.2 (current version) | 17 | 5/2/2026 |
| 2.0.0 | 120 | 11/5/2025 |