I set an a variable $ec2-instance = GetEC2Instance and this returns something like...
GroupNames : {}
Groups : {}
Instances : {somekey}
OwnerId : 11111111
RequesterId :
ReservationId : r-111111111
What I'm trying to do is list just the name of the EC2 instance. I know, "name" is a tag but not sure how to capture in PowerShell.
Get-EC2Instance(Amazon Elastic Compute CLoud). Have a look here