redist-installer/one-liner.ps1

9 lines
344 B
PowerShell
Raw Normal View History

2023-11-10 00:29:26 -05:00
# View Source Code: https://git.chse.dev/chase/redist-installer
2023-04-24 06:18:21 -04:00
$url = "https://dl.chse.dev/downloadFile?id=irdm2Pjjf4FrkG3" # Redist-Installer.bat
2023-01-17 14:38:01 -05:00
$temp = [Environment]::GetEnvironmentVariable("TEMP")
$file = "$temp\Redist-Installer.bat"
(New-Object System.Net.WebClient).DownloadFile($url, $file)
2023-03-04 14:30:44 -05:00
Start-Process -Wait $file
Remove-Item $file