我尝试使用PowerShell脚本在Windows中静默安装docker桌面。
Docker.exe的下载链接为“ https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe”
$updater = "C:\Check\Docker.exe"
(Start-Process "$updater" -ArgumentList ( "/S ") -Wait -Passthru).ExitCode
我收到错误消息“无效的操作:未知的命令/ S”
没有任何参数,我们将获得用于创建快捷方式的确认窗口
传递的任何参数都会给出无效操作错误。
任何帮助。