Files
management-scripts/Install-AmazonCorretto.ps1
T
2019-11-11 19:22:39 -05:00

7 lines
411 B
PowerShell

## Get the correct URL
If ( Test-Path "${Env:ProgramFiles(x86)}" )
{ $URL = 'https://emberkom.s3.amazonaws.com/management/installers/amazon-corretto-8.222.10.3-windows-x64.msi' }
Else { $URL = 'https://emberkom.s3.amazonaws.com/management/installers/amazon-corretto-8.222.10.3-windows-x86.msi' }
## Install Amazon Corretto
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i ${URL} /qn /norestart" -Wait