Update App Install or Upgrade Scripts/App - Dell SupportAssist OS Recovery Plugin for Dell Update - Install or Upgrade.ps1

This commit is contained in:
2025-08-07 18:06:09 +00:00
parent def7ad86fb
commit 0d9ba814c0
@@ -48,7 +48,7 @@ If ($Manufacturer -eq "Dell Inc.") {
$Local_Version = Get-Software | Where-Object { $_.DisplayName -eq $App_Name } | Select-Object -ExpandProperty DisplayVersion $Local_Version = Get-Software | Where-Object { $_.DisplayName -eq $App_Name } | Select-Object -ExpandProperty DisplayVersion
#Comparing version already installed to what is online #Comparing version already installed to what is online
If ($Local_Version -lt $Online_Version) { If ([version]$Local_Version -lt [version]$Online_Version) {
Test-Probe_Online Test-Probe_Online
Close-App Close-App
Install-App Install-App