How to find the equivalent AWS PowerShell command to the CLI
- First import the module AWSPowerShell.NetCore.
- Then type Get-AWSCmdletName to find the equivalent command to the CLI version.
- AWS CLI Command Reference:
- List records: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/route53/list-resource-record-sets.html
- CLI Homepage:
https://awscli.amazonaws.com/v2/documentation/api/latest/index.html - AWS CLI Command Reference Homepage:
https://awscli.amazonaws.com/v2/documentation/api/latest/index.html
Get-AWSCmdletName -AwsCliCommand "route53 list-resource-record-sets" -WarningAction SilentlyContinue

A newer method is to use Get-AWSCmdletName with -Service and -ApiOperation
Get-AWSCmdletName -Service route53 -ApiOperation ListResourceRecordSets

If you don’t know the full name of the -ApiOperation to search for, use the -MatchWithRegex switch as a wildcard option.
Get-AWSCmdletName -Service route53 -ApiOperation "record" -MatchWithRegex
