mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-05 03:05:51 +02:00
Let's keep this file even though it's not actively being used. IMO it's better to have a large collection of working install scripts that we can use as needed. This will make sure it is available if needed in the future.
8 lines
434 B
PowerShell
8 lines
434 B
PowerShell
# setup dotnetfx4
|
|
$netfx_url = "https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe"
|
|
|
|
Write-Output "Downloading $netfx_url"
|
|
(New-Object System.Net.WebClient).DownloadFile($netfx_url, "C:\Windows\Temp\dotNetFx40_Full_x86_x64.exe")
|
|
Write-Output "Starting Install of dotNetFx40_Full_x86_x64.exe"
|
|
Start-Process "C:\Windows\Temp\dotNetFx40_Full_x86_x64.exe" "/q /norestart" -Wait
|