From 5e3540fb2ca747354513bcea63db12432c4f6f16 Mon Sep 17 00:00:00 2001 From: Len Date: Sat, 20 Jan 2018 19:15:57 -0500 Subject: [PATCH] Update install-iis.ps1 (#139) --- windows/resources/install-iis.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/windows/resources/install-iis.ps1 b/windows/resources/install-iis.ps1 index 48a5c7e..afcefdd 100644 --- a/windows/resources/install-iis.ps1 +++ b/windows/resources/install-iis.ps1 @@ -5,15 +5,15 @@ Install-WindowsFeature Web-Http-Redirect Function Install-IIS([string]$path) { #Run IIS manager and create FusionPBX app - #Write-Host "Create web site in IIS" -ForegroundColor Yellow - #Write-Host "Enable extensions php_pgsql and php_pdo_pgsql" in IIS -ForegroundColor Yellow - #Write-Host "Use URL Rewrite to import rules from .htaccess file" -ForegroundColor Yellow - #Start-Process "${env:SystemRoot}\system32\inetsrv\InetMgr.exe" + Write-Host "Create web site in IIS" -ForegroundColor Yellow + Write-Host "Enable extensions php_pgsql and php_pdo_pgsql" in IIS -ForegroundColor Yellow + Write-Host "Use URL Rewrite to import rules from .htaccess file" -ForegroundColor Yellow + Start-Process "${env:SystemRoot}\system32\inetsrv\InetMgr.exe" - Install-IIS -path $system_directory -port 80 - iisreset + #Install-IIS -path $system_directory -port 80 + invoke-command -scriptblock {iisreset} #Remove current configuration #Remove-Item c:\inetpub\FusionPBX\resources\config.php