This removes all Dell apps except Command Update
$apps = Get-WmiObject win32_product | ? {$_.vendor -like “Dell*” -and $_.name -notlike “Dell Command*”};$apps
foreach($app in $apps){
$Result = $app.uninstall() | Select-Object -Property returnvalue
if(($Result).returnvalue -eq 0){Write-host $app.name}Else{Write-host “$PC Fail”}}