PDFill Free PDF Editor Basic silent install example:
# Set variables
$DownloadPath = "C:\Users\Public\Downloads"
$Link = "https://filehost.nu/download/pdfill/"
$File = "PDFill_FREE_PDF_Editor_Basic.zip"
$InstallFile = "PDFill_FREE_PDF_Editor_Basic.exe"
# Download
$ProgressPreference = "SilentlyContinue"
if (Test-Path $DownloadPath\$File) {
Remove-Item $DownloadPath\$File
}
Invoke-WebRequest -Uri $Link -OutFile $DownloadPath\$File -UseBasicParsing
# Extract
if (Test-Path $DownloadPath\$InstallFile) {
Remove-Item $DownloadPath\$InstallFile
}
Expand-Archive $DownloadPath\$File $DownloadPath
# Install to UpdatePath
Start-Process -FilePath "$DownloadPath\$InstallFile" -ArgumentList "/passive" -Wait