Update check-apps.ps1

This commit is contained in:
Markus Fleschutz 2022-12-04 19:07:18 +01:00
parent 96b934e417
commit 1bfce0a4e4

View File

@ -15,8 +15,10 @@ try {
if ($IsLinux) {
# TODO
} else {
Write-Progress "Querying installed apps and available updates..."
Write-Progress "⏳ (1/2) Querying installed applications..."
$NumAppsInstalled = (Get-AppxPackage).Count
Write-Progress "⏳ (2/2) Querying available updates..."
$NumUpdates = (winget upgrade).Count - 5
"$NumAppsInstalled apps installed, $NumUpdates updates available"
}