Created
November 3, 2016 23:33
-
-
Save bo67192/71d800f6807bda0d501a157ec6a50757 to your computer and use it in GitHub Desktop.
Powershell get-ec2instance with filter and piped to where
This file contains 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
(Get-EC2Instance -filter @( @{name='tag:Name';values="*Webserver*"})).instances | where {$_.InstanceType -eq "t2.micro"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment