$url = "https://github.com/chxseh/redist-installer/releases/download/latest/Redist-Installer.bat" $temp = [Environment]::GetEnvironmentVariable("TEMP") $file = "$temp\Redist-Installer.bat" (New-Object System.Net.WebClient).DownloadFile($url, $file) Start-Process $file