Skip to content

Instantly share code, notes, and snippets.

@jkoelker
Created March 9, 2017 20:46
Show Gist options
  • Save jkoelker/3a4c517c645b498343a3337326bfa66e to your computer and use it in GitHub Desktop.
Save jkoelker/3a4c517c645b498343a3337326bfa66e to your computer and use it in GitHub Desktop.
Windows 2016 Container AWS Credentials route
$r = (Get-NetRoute | Where {$_.DestinationPrefix -eq '0.0.0.0/0'})
New-NetRoute -DestinationPrefix 169.254.169.254/32 -InterfaceIndex $r.ifIndex -NextHop $r.NextHop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment