windows - How to execute a PostGre exe file with silent mode? -
windows - How to execute a PostGre exe file with silent mode? -
hy,
i install postgresql 9.1 on windows server 2012. want used powershell script. jdk executables file, utilize start-process "myfile" -argumentlist "/s" -wait
argument \s
don't work postgre executables file.
have thought ?
you can utilize install-postgres powershell module, it's on technet gallery.
the install-postgresql powershell module following:
creates local windows user postgresql use downloads postgresql installer provided enterprisedb installs postgres unattended using supplied parameters sets postgres windows user owner of postgres files , folders sets postgres windows service run under postgres local user creates pgpass.conf file in appdata copies configuration files info directory opens supplied port postgresql utilize in windows firewallusage
import-module install-postgres install-postgres -user "postgres" -password "changeme!"
windows powershell executable postgresql-9.1 windows-server-2012
Comments
Post a Comment