WingetBatch
2.11.0
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2025-2026 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
Start-WingetUpdateCheck Install-WingetAll Get-WingetNewPackages Get-WingetUpdates Enable-WingetUpdateNotifications Disable-WingetUpdateNotifications Set-WingetBatchGitHubToken New-WingetBatchGitHubToken Remove-WingetRecent Export-WingetBatchConfig Import-WingetBatchConfig Set-WingetBatchConfig Get-WingetBatchConfig Invoke-WingetBatchCleanup Update-WingetBatch Invoke-WinGetBatch Repair-WingetBatchManager Get-WingetMachineState Get-WingetPackageInfo Get-WingetHistory Watch-WingetPackages Find-WingetDuplicate Register-WingetMaintenance Get-WingetDependencyGraph Start-WingetServer Get-WingetRecommend Invoke-WingetFleet Restore-WingetSnapshot Test-WingetCompliance Get-WingetHealthScore Send-WingetWebhook Export-WingetOffline Install-WingetProfile Get-WingetChangelog
PSEditions
Dependencies
Release Notes
v2.11.0 - Windows PowerShell 5.1 Support & Background Job / Encoding Fixes
- FIXED: Hang at "Waiting for background jobs..." in Install-WingetAll and Get-WingetNewPackages. Passing a module-bound Parse-WingetShowOutput scriptblock into Start-ThreadJob deadlocked against the caller runspace waiting in Wait-Job; jobs now receive plain function source text and exact-match winget show (-e --accept-source-agreements) without nested-array wrapping on multi-package batches.
- FIXED: Eliminated the large PwshSpectreConsole Warning panel on terminals with non-UTF-8 encoding (e.g. OEM United States / CP437) by enabling UTF-8 console encoding on PowerShell 7+ and guarding PwshSpectreConsole import.
- NEW: Full Windows PowerShell 5.1 (Desktop) compatibility across the entire module so WingetBatch can install PowerShell 7 (`pwsh`) out of the box on a fresh Windows install.
* PowerShellVersion lowered back to 5.1; CompatiblePSEditions includes Desktop and Core.
* PwshSpectreConsole is now optional (auto-used on PowerShell 7.4+ when installed) with an interactive numbered console selection fallback (supports single items, lists, ranges like 1-3, 'all', and cancellation) in Install-WingetAll, Get-WingetUpdates, Get-WingetNewPackages, Get-WingetRecommend, and Remove-WingetRecent.
* Removed PowerShell 7-only syntax/APIs in Test-WingetCompliance, Invoke-WingetFleet, Start-WingetServer, Register-WingetMaintenance, Send-WingetWebhook, and Install-WingetBatchDependency; added TLS 1.2 initialization on Windows PowerShell 5.1.
- FIXED: Set-PackageDetailsCache and Get-PackageDetailsCache handling of cached PSCustomObject detail entries.
Full history: https://github.com/thebubbsy/WingetBatch/blob/main/CHANGELOG.md
FileList
- WingetBatch.nuspec
- .github\workflows\publish.yml
- CHANGELOG.md
- LICENSE
- Private\Compare-WingetVersion.ps1
- Private\ConvertTo-SpectreEscaped.ps1
- Private\ConvertTo-WingetActionResult.ps1
- Private\ConvertTo-WingetHashtable.ps1
- Private\Export-WingetHtmlReport.ps1
- Private\Get-GitHubApiRequestCount.ps1
- Private\Get-PackageDetailsCache.ps1
- Private\Get-WingetBatchConfigData.ps1
- Private\Get-WingetBatchConfigDir.ps1
- Private\Get-WingetBatchGitHubToken.ps1
- Private\Get-WingetPkgsManifest.ps1
- Private\Get-WingetSourceIndexAge.ps1
- Private\Import-WingetBatchSpectre.ps1
- Private\Install-WingetBatchDependency.ps1
- Private\Invoke-WingetPackageAction.ps1
- Private\New-WingetSnapshot.ps1
- Private\Parse-WingetShowOutput.ps1
- Private\Read-WingetConsoleSelection.ps1
- Private\Register-WingetBatchCompleters.ps1
- Private\Set-PackageDetailsCache.ps1
- Private\Set-WingetPackageVersion.ps1
- Private\Show-WingetPackageDetails.ps1
- Private\Sort-WingetVersion.ps1
- Private\Start-PackageDetailJobs.ps1
- Private\Start-WingetBatchJob.ps1
- Private\Update-GitHubApiRequestCount.ps1
- Public\Disable-WingetUpdateNotifications.ps1
- Public\Enable-WingetUpdateNotifications.ps1
- Public\Export-WingetBatchConfig.ps1
- Public\Export-WingetOffline.ps1
- Public\Find-WingetDuplicate.ps1
- Public\Get-WingetBatchConfig.ps1
- Public\Get-WingetChangelog.ps1
- Public\Get-WingetDependencyGraph.ps1
- Public\Get-WingetHealthScore.ps1
- Public\Get-WingetHistory.ps1
- Public\Get-WingetMachineState.ps1
- Public\Get-WingetNewPackages.ps1
- Public\Get-WingetPackageInfo.ps1
- Public\Get-WingetRecommend.ps1
- Public\Get-WingetUpdates.ps1
- Public\Import-WingetBatchConfig.ps1
- Public\Install-WingetAll.ps1
- Public\Install-WingetProfile.ps1
- Public\Invoke-WinGetBatch.ps1
- Public\Invoke-WingetBatchCleanup.ps1
- Public\Invoke-WingetFleet.ps1
- Public\New-WingetBatchGitHubToken.ps1
- Public\Register-WingetMaintenance.ps1
- Public\Remove-WingetRecent.ps1
- Public\Repair-WingetBatchManager.ps1
- Public\Restore-WingetSnapshot.ps1
- Public\Send-WingetWebhook.ps1
- Public\Set-WingetBatchConfig.ps1
- Public\Set-WingetBatchGitHubToken.ps1
- Public\Start-WingetServer.ps1
- Public\Start-WingetUpdateCheck.ps1
- Public\Test-WingetCompliance.ps1
- Public\Update-WingetBatch.ps1
- Public\Watch-WingetPackages.ps1
- README.md
- WingetBatch.psd1
- WingetBatch.psm1
- WingetBatch_Standalone.ps1
- build.ps1
- docs\architecture_nextgen.md
- publish.ps1
- tests\ConvertTo-SpectreEscaped.Tests.ps1
- tests\Get-WingetBatchConfigDir.Tests.ps1
- tests\Helpers.Tests.ps1
- tests\NewCommands.Tests.ps1
- tests\Parse-WingetShowOutput.Tests.ps1
- tests\Show-WingetPackageDetails.Tests.ps1
- wiki\Architecture.md
- wiki\Command-Reference.md
- wiki\Configuration.md
- wiki\Home.md
- wiki\Installation-and-Setup.md
- wiki\Troubleshooting.md
- wiki\_Sidebar.md
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.11.1 | 37 | 11/17/2026 |
| 2.11.0 (current version) | 17 | 11/17/2026 |
| 2.10.0 | 135 | 9/26/2026 |
| 2.9.0 | 135 | 7/28/2026 |
| 2.8.0 | 15 | 7/28/2026 |
| 2.7.0 | 17 | 7/27/2026 |
| 2.6.2 | 64 | 7/8/2026 |
| 2.6.1 | 6 | 7/8/2026 |
| 2.6.0 | 46 | 6/26/2026 |
| 2.5.0 | 17 | 6/25/2026 |
| 2.4.7 | 49 | 6/9/2026 |
| 2.4.6 | 19 | 6/8/2026 |
| 2.4.5 | 8 | 6/8/2026 |
| 2.4.4 | 8 | 6/8/2026 |
| 2.4.3 | 9 | 6/8/2026 |
| 2.4.2 | 8 | 6/8/2026 |
| 2.4.1 | 11 | 6/8/2026 |
| 2.4.0 | 10 | 6/8/2026 |
| 2.3.1 | 50 | 5/22/2026 |
| 2.3.0 | 7 | 5/22/2026 |
| 2.2.1 | 50 | 5/8/2026 |
| 2.2.0 | 35 | 5/4/2026 |
| 2.1.2 | 22 | 5/2/2026 |
| 2.0.0 | 126 | 11/5/2025 |