Syntax

$Path = $env:TEMP; $Installer = “AcroRdrDC1502320053_en_US.exe”; Invoke-WebRequest “http://ardownload.adobe.com/pub/adobe/reader/win/AcrobatDC/1502320053/AcroRdrDC1502320053_en_US.exe” -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args “/sAll /rs /l” -Verb RunAs -Wait; Remove-Item $Path\$Installer

Download Full Script

Purpose:This script will help to download any web application and install it in your system. All you need to do is edit the application name and the applications’ source URL and it will get installed silently on your Windows Machine. One of the benefits of installing it silently, is that you do not have to click on next>next>next on the installation wizard
Modification:This sample script installs adobe acrobat reader, the url and Application can be modified according to your preference
Type:PowerShell Script (ps1)
Compatibility:Windows
Tags:-
Reference link: