Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install latest version of AWS CLI via PowerShell
# https://docs.aws.amazon.com/cli/latest/userguide/awscli-install-windows.html
$dlurl = "https://s3.amazonaws.com/aws-cli/AWSCLI64PY3.msi"
$installerPath = Join-Path $env:TEMP (Split-Path $dlurl -Leaf)
Invoke-WebRequest $dlurl -OutFile $installerPath
Start-Process -FilePath msiexec -Args "/i $installerPath /passive" -Verb RunAs -Wait
Remove-Item $installerPath
@olen2006

This comment has been minimized.

Copy link

@olen2006 olen2006 commented Mar 16, 2020

Nice

@sanketgund07

This comment has been minimized.

Copy link

@sanketgund07 sanketgund07 commented Apr 21, 2020

Awesome. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment