Created
May 12, 2020 05:21
-
-
Save dezren39/d9216fd9486e3a9f53132fbc392f852a to your computer and use it in GitHub Desktop.
Enable Detailed Monitoring for all EC2 Instances with PowerShell one-liner
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 monitor-instances --instance-ids (aws ec2 describe-instances | ConvertFrom-Json).Reservations.Instances.InstanceId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment