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
| Add-Content 'c:\script.log' (date) | |
| # This fixes a bug in AWS startup script processing. | |
| # 169.254.169.254 is for metadata service | |
| # 169.254.169.250 is for KmsInstanceVpc1 | |
| # 169.254.169.251 is for KmsInstanceVpc2 | |
| $ipAddrs = @("169.254.169.254/32", "169.254.169.250/32", "169.254.169.251/32") | |
| $sleepTime = 1 |