mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-12 09:40:45 +01:00
Updated install-updates.ps1
This commit is contained in:
parent
cf88f21ebc
commit
4af826c741
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user