powershell 的 postgresql 静默安装问题
postgresql silent installation issue with powershell
我正在执行 postgresql-9.4.4-3-windows-x64
的无人值守安装,将此命令与 Invoke-Command
一起使用:
postgresql-9.4.4-3-windows-x64.exe --unattendedmodeui minimal --mode unattended --superpassword "password" --servicename "postgreSQL"
--servicepassword "password" --serverport 5432
但问题是 visual studio GUI 正在弹出。如果没有人登录到服务器,则安装失败。
我已经更改了参数:
发件人:
--unattendedmodeui minimal
收件人:
--unattendedmodeui none
我正在执行 postgresql-9.4.4-3-windows-x64
的无人值守安装,将此命令与 Invoke-Command
一起使用:
postgresql-9.4.4-3-windows-x64.exe --unattendedmodeui minimal --mode unattended --superpassword "password" --servicename "postgreSQL"
--servicepassword "password" --serverport 5432
但问题是 visual studio GUI 正在弹出。如果没有人登录到服务器,则安装失败。
我已经更改了参数:
发件人:
--unattendedmodeui minimal
收件人:
--unattendedmodeui none