mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-29 13:14:49 +02:00
Updated list-updates.ps1
This commit is contained in:
parent
6c86abdd6f
commit
a03a57e3ef
@ -28,13 +28,11 @@ try {
|
|||||||
} elseif ($IsMacOS) {
|
} elseif ($IsMacOS) {
|
||||||
throw "Sorry, MacOS not supported yet"
|
throw "Sorry, MacOS not supported yet"
|
||||||
} else {
|
} else {
|
||||||
Write-Progress "Querying available updates from winget..."
|
Write-Host "`n === WinGet Store ===" -foregroundColor green
|
||||||
Write-Host " "
|
|
||||||
& winget upgrade --include-unknown --source=winget
|
& winget upgrade --include-unknown --source=winget
|
||||||
Write-Host " "
|
|
||||||
Write-Progress "Querying available updates from Microsoft Store..."
|
Write-Host "`n === Microsoft Store ===" -foregroundColor green
|
||||||
& winget upgrade --include-unknown --source=msstore
|
& winget upgrade --include-unknown --source=msstore
|
||||||
Write-Progress -completed "Done."
|
|
||||||
}
|
}
|
||||||
" "
|
" "
|
||||||
"NOTE: Execute script 'install-updates.ps1' to install the listed updates."
|
"NOTE: Execute script 'install-updates.ps1' to install the listed updates."
|
||||||
|
Loading…
Reference in New Issue
Block a user