mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-02 06:34:37 +02:00
Updated list-updates.ps1
This commit is contained in:
parent
a2061269ab
commit
6c86abdd6f
@ -28,9 +28,12 @@ try {
|
||||
} elseif ($IsMacOS) {
|
||||
throw "Sorry, MacOS not supported yet"
|
||||
} else {
|
||||
Write-Progress "Querying updates from Microsoft Store and winget..."
|
||||
" "
|
||||
& winget upgrade --include-unknown
|
||||
Write-Progress "Querying available updates from winget..."
|
||||
Write-Host " "
|
||||
& winget upgrade --include-unknown --source=winget
|
||||
Write-Host " "
|
||||
Write-Progress "Querying available updates from Microsoft Store..."
|
||||
& winget upgrade --include-unknown --source=msstore
|
||||
Write-Progress -completed "Done."
|
||||
}
|
||||
" "
|
||||
|
Loading…
Reference in New Issue
Block a user