【发布时间】:2018-07-10 02:27:09
【问题描述】:
Start-Process -FilePath $application.UninstallString -ArgumentList "/q" -Wait -NoNewWindow
Start-Process -FilePath $application.UninstallString -ArgumentList "/s" -Wait -NoNewWindow
Start-Process -FilePath $application.UninstallString -ArgumentList "-q" -Wait -NoNewWindow
我尝试使用上述命令卸载应用程序,但是当我运行它时,会提示确认窗口,我想阻止该窗口显示。
【问题讨论】:
-
这似乎更像是安装程序的问题,而不是与 PowerShell 相关的问题(无论如何)。无论哪种方式,两者都可能与 SO 无关。
标签: powershell