forked from norman/fusionpbx-install.sh-github-mirror
Update the Windows install.
This commit is contained in:
7
windows/resources/start-pgsql.ps1
Normal file
7
windows/resources/start-pgsql.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
Function Start-PSQL([string]$command) {
|
||||
$location = Get-Location
|
||||
Set-Location "C:\Program Files\PostgreSQL\10\bin"
|
||||
$result = .\psql.exe --username=postgres -c "$command"
|
||||
Set-Location $location
|
||||
return $result
|
||||
}
|
||||
Reference in New Issue
Block a user