invoke Uninstall-MSI for removing some apps
This commit is contained in:
@@ -73,15 +73,10 @@ If ( IsWindowsBuild -ge 9200 )
|
||||
}
|
||||
} Else { LogMsg "Cannot remove Appx packages because this endpoint is not running Windows 8 or higher" }
|
||||
|
||||
# Uninstall unwanted applications
|
||||
LogMsg "Uninstalling: Dell SupportAssist"
|
||||
Start-Process "msiexec.exe" -ArgumentList "/X{4F8A3BC3-641C-4B0D-AF46-EA3354016EA7} /qn /norestart" -Wait
|
||||
# Uninstall Dell SupportAssist apps
|
||||
$APP_NAME = "Dell*SupportAssist*"
|
||||
Run-Script -LivePSScript Uninstall-MSI
|
||||
|
||||
LogMsg "Uninstalling: Dell SupportAssist Remediation"
|
||||
Start-Process "msiexec.exe" -ArgumentList "/X{2674B8DB-D696-4F9D-8606-E13E9D119579} /qn /norestart" -Wait
|
||||
|
||||
LogMsg "Uninstalling: Dell SupportAssist OS Recovery Plugin for Dell Update"
|
||||
Start-Process "msiexec.exe" -ArgumentList "/X{08E7C8D5-F2B5-4F09-B0EA-F28913BEFDB0} /qn /norestart" -Wait
|
||||
|
||||
LogMsg "Uninstalling: Dell Digital Delivery Services"
|
||||
Start-Process "msiexec.exe" -ArgumentList "/X{E530ABB7-9DCC-421B-B751-484375E8374A} /qn /norestart" -Wait
|
||||
# Uninstall Dell SupportAssist apps
|
||||
$APP_NAME = "Dell Digital Delivery*"
|
||||
Run-Script -LivePSScript Uninstall-MSI
|
||||
|
||||
Reference in New Issue
Block a user