You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\olav.birkeland>winget upgrade
Name Id Version Available Source
------------------------------------------------------------------------------------------------------------
Signal 6.4.1 OpenWhisperSystems.Signal 6.4.1 6.5.1 winget
Git Git.Git 2.39.1 2.39.2 winget
Kate KDE.Kate 22.12.1 22.12.2 winget
KeePass Password Safe 2.53 DominikReichl.KeePass 2.53 2.53.1 winget
Microsoft 365 Apps for enterprise - en-us Microsoft.Office 16.0.16026.20146 16.0.16026.20200 winget
Microsoft 365 Apps for enterprise - nb-no Microsoft.Office 16.0.16026.20146 16.0.16026.20200 winget
Plex Plex.Plex 1.62.2 1.64.2 winget
Microsoft Teams Microsoft.Teams 1.5.00.36367 1.6.00.376 winget
Authy Desktop Twilio.Authy 2.2.2 2.2.3 winget
Teams Machine-Wide Installer Microsoft.Teams 1.5.0.8070 1.6.00.376 winget
11 upgrades available.
The following packages have an upgrade available, but require explicit targeting for upgrade:
Name Id Version Available Source
-------------------------------------------------
Discord Discord.Discord 1.0.9010 1.0.9011 winget
C:\Users\olav.birkeland>
Output from Cobalt\Get-WinGetPackageUpdate
Click to expand
PS C:\WINDOWS\system32>Cobalt\Get-WinGetPackageUpdateForEach-Object : Exception calling "Substring" with "2" argument(s): "startIndex cannot be larger than length of string.Parameter name: startIndex"
At C:\Users\olav.birkeland\Desktop\cobalt.0.4.0\Cobalt.psm1:1802 char:191+ ... atin}]+','' | Select-Object -Skip ($headerLine+2) | ForEach-Object {+ ~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [ForEach-Object], MethodInvocationException + FullyQualifiedErrorId : ArgumentOutOfRangeException,Microsoft.PowerShell.Commands.ForEachObjectCommandPS C:\WINDOWS\system32>
Winget info:
Click to expand
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.1265
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0
This is a special case that broke my parsing logic for converting WinGet text output to PowerShell object too. I think it's related to the following:
RequireExplicitUpgrade
manifest element microsoft/winget-cli#1795Output of regular
winget upgrade
in CMD:Click to expand
Output from
Cobalt\Get-WinGetPackageUpdate
Click to expand
Winget info:
Click to expand
PowerShell info (running ISE as admin):
Click to expand
My jank workaround (probably not applicable here?):
Click to expand
The text was updated successfully, but these errors were encountered: