Skip to content
Discussion options

You must be logged in to vote

I believe this is not a V4/V5 difference, this is an AWSPowerShell vs AWS.Tools.EC2 difference. For backwards compatibility reasons, an alias is being added for Values property. so the Value and Values property are the same. As can be seen from the below output, Value is an alias that points to Values in AWSPowerShell module. This alias is not being added to AWS.Tools.EC2. I have added link to relevant code. As for what other filters the alias exists, please refer to the file. I would recommend using AWS.Tools.EC2 module instead of AWSPowerShell. Please reach out if you have any more questions.

Get-Module AWSPowerShell| select Version

Version
-------
5.0.60


$filter=new-object amazon.ec…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants