Recently, I had the task to run several fitnesse instances in on the single AWS EC2 instance. The requirement was what each fitnesse instance should be accessible trough port 80 (HTTP). IIS as reverse proxy came to the rescue. But there were one more requirement – IIS Reverse Proxy configuration should be automated. Here >> konstantinvlasenko/IISContinue reading “Silent IIS UrlRewrite, ARR and FARM provisioning by #PowerShell”
Category Archives: automation
Silent install IIS UrlRewrite and ARR by #PowerShell
Create-Item c:/msi -Type Directory Invoke-WebRequest ‘http://download.microsoft.com/download/C/F/F/CFF3A0B8-99D4-41A2-AE1A-496C08BEB904/WebPlatformInstaller_amd64_en-US.msi’ -OutFile c:/msi/WebPlatformInstaller_amd64_en-US.msi Start-Process ‘c:/msi/WebPlatformInstaller_amd64_en-US.msi’ ‘/qn’ -PassThru | Wait-Process cd ‘C:/Program Files/Microsoft/Web Platform Installer’; .\WebpiCmd.exe /Install /Products:’UrlRewrite2,ARRv3_0′ /AcceptEULA /Log:c:/msi/WebpiCmd.log
Change local administrator password by command line
([ADSI]”WinNT://localhost/Administrator, user”).psbase.Invoke(“SetPassword”, ‘{PASSWORD}’)