Updated install-updates.ps1

This commit is contained in:
Markus Fleschutz 2024-11-30 14:23:41 +01:00
parent cf88f21ebc
commit 4af826c741

View File

@ -56,7 +56,8 @@ try {
"" ""
"⏳ (2/2) Installing updates from winget and Microsoft Store..." "⏳ (2/2) Installing updates from winget and Microsoft Store..."
"" ""
& winget upgrade --all --include-unknown & winget upgrade --all --source=winget
# & winget upgrade --all --source=msstore # does not work
} }
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$elapsed = $stopWatch.Elapsed.TotalSeconds
"✅ Updates installed in $($elapsed)s." "✅ Updates installed in $($elapsed)s."