Created
March 9, 2017 20:46
-
-
Save jkoelker/3a4c517c645b498343a3337326bfa66e to your computer and use it in GitHub Desktop.
Windows 2016 Container AWS Credentials route
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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