mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-25 17:33:17 +01:00
Update install-updates.ps1
This commit is contained in:
parent
6a413827df
commit
b2c6f7ea22
@ -59,7 +59,7 @@ try {
|
||||
& winget upgrade --all --include-unknown
|
||||
}
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✅ Updates installed in $elapsed sec."
|
||||
"✅ Updates installed in $($elapsed)s."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user