Update DC Auditing GPO and Add Packer Script for ENA

This commit is contained in:
Chris Long
2020-05-03 17:12:05 -07:00
parent c8514a49a4
commit aeecd1b756
15 changed files with 37 additions and 29 deletions

View File

@@ -0,0 +1,10 @@
# 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 -Force
. $env:TEMP\AwsEnaNetworkDriver\install.ps1
rm $env:TEMP\AwsEnaNetworkDriver.zip
rm -recurse $env:TEMP\AwsEnaNetworkDriver

View File

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