Skip to content

Instantly share code, notes, and snippets.

@nordinrahman
Created February 22, 2018 04:17
Show Gist options
  • Save nordinrahman/74edf0f973eca5c742e9efcacc2a6561 to your computer and use it in GitHub Desktop.
Save nordinrahman/74edf0f973eca5c742e9efcacc2a6561 to your computer and use it in GitHub Desktop.
Powershell scripts to install ARR and UrlRequest
New-Item c:/temp/msi -ItemType Directory
Invoke-WebRequest 'http://download.microsoft.com/download/C/F/F/CFF3A0B8-99D4-41A2-AE1A-496C08BEB904/WebPlatformInstaller_amd64_en-US.msi' -OutFile c:/temp/msi/WebPlatformInstaller_amd64_en-US.msi
Start-Process 'c:/temp/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:/temp/msi/WebpiCmd.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment