Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dezren39/d9216fd9486e3a9f53132fbc392f852a to your computer and use it in GitHub Desktop.
Save dezren39/d9216fd9486e3a9f53132fbc392f852a to your computer and use it in GitHub Desktop.
Enable Detailed Monitoring for all EC2 Instances with PowerShell one-liner
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