Closed ketanbhut closed 3 years ago
Requires change in GetAWSServiceCmdlet
class in https://github.com/aws/aws-tools-for-powershell/blob/master/modules/AWSPowerShell/Common/DiscoveryCmdlets.cs
This is fixed in AWS.Tools.Common 4.1.13.0.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Provide a general summary of the issue in the Title above.
Expected Behavior
Get-AWSService cw # returns similar results to Get-AWSService -Service cw
Current Behavior
Get-AWSService cw # returns error A positional parameter cannot be found ..
Possible Solution
Modify GetAWSServiceCmdlet to add Position=0 for Service parameter
Steps to Reproduce (for bugs)
Search for any module without -Service
Context
It is very frequent to search for module names when you have to work for a new set of Cmdlets for which you don't have module installed. -Service being the only parameter, it should be ok to make it positional.
Your Environment
Include as many relevant details about the environment where the bug was discovered.
Get-AWSPowerShellVersion
: Version 4.0.2.0$PSVersionTable.OS
: Microsoft Windows 10.0.17763$PSVersionTable.PSEdition
: Core