Created
November 17, 2020 19:47
-
-
Save markjfletcher/facac4d6210d0331e5b0cc2b8a584871 to your computer and use it in GitHub Desktop.
AWSCLI - Get back the latest Windows AMI
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
aws ec2 describe-images --owners amazon --filters "Name=name,Values=Windows_Server-2016-English-Core-Base*" --query 'Images[*].[ImageId, Name]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment