Created
August 19, 2017 20:40
-
-
Save gcanales75/6645ad6d16833f5fc9897e2cbbf622ff to your computer and use it in GitHub Desktop.
Crea una lista donde relaciona InstanceId con su Tag "Name"
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
| ((Get-EC2Instance).instances) | Select InstanceId, @{Name="tagName";Expression={($_.Tags | Where {$_.Key -eq "Name"}).Value}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment