Skip to content

Instantly share code, notes, and snippets.

@bo67192
Created November 3, 2016 23:30
Show Gist options
  • Save bo67192/c7c36710be9a153ea1998045c64806a9 to your computer and use it in GitHub Desktop.
Save bo67192/c7c36710be9a153ea1998045c64806a9 to your computer and use it in GitHub Desktop.
Powershell AWS get-ec2instance example with filter
(Get-EC2Instance -filter @( @{name='tag:Name';values="*Webserver*"})).instances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment