远程IP卸载Epic Satellite失败:脚本提示未找到软件求助
远程卸载Epic Satellite软件时提示“软件未找到”的问题
我尝试通过IP地址远程卸载目标计算机上的Epic Satellite软件,已确认该软件已安装,但执行以下PowerShell脚本时始终返回“软件未找到”。我核对了控制面板与注册表中的软件名称,二者完全一致,不清楚问题出在哪里。
执行的脚本
$computerName = "***,***,***" $softwareName = "Epic Satellite" $credential = Get-Credential $software = Get-WmiObject -Class Win32_Product -ComputerName $computerName -Credential $credential | Where-Object { $_.Name -eq $softwareName } if ($software) { $software.Uninstall() Write-Host "Software '$softwareName' uninstalled successfully from '$computerName'." } else { Write-Host "Software '$softwareName' not found on '$computerName'." }
相关截图
- 控制面板中显示Epic Satellite已安装:

- 注册表中Epic Satellite的名称信息:

- 注册表中Epic Satellite的其他相关信息:

内容的提问来源于stack exchange,提问作者EEVolutionX
相关产品推荐
相关产品推荐

