Add Powershell script to resolve expiration issues

This commit is contained in:
Chris Long
2020-05-19 00:26:19 -07:00
parent d686a50f81
commit 6312f4740b
7 changed files with 48 additions and 27 deletions

View File

@@ -1,10 +0,0 @@
# Installs the AWS Enhanced Networking for Windows
Write-Host "Installing the AWS Enhanced Networking Driver"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$url="https://s3.amazonaws.com/ec2-windows-drivers-downloads/ENA/Latest/AwsEnaNetworkDriver.zip"
(New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\AwsEnaNetworkDriver.zip")
Expand-Archive -Path $env:TEMP\AwsEnaNetworkDriver.zip -DestinationPath $env:TEMP\AwsEnaNetworkDriver -Force
. $env:TEMP\AwsEnaNetworkDriver\install.ps1
rm $env:TEMP\AwsEnaNetworkDriver.zip
rm -recurse $env:TEMP\AwsEnaNetworkDriver

View File

@@ -154,8 +154,7 @@
{
"type": "powershell",
"scripts": [
"./scripts/debloat-windows.ps1",
"./scripts/install-aws-ena.ps1"
"./scripts/debloat-windows.ps1"
]
},
{