Created
July 23, 2022 06:49
-
-
Save krymtkts/0e4e267d1b895cb245e6be516a075990 to your computer and use it in GitHub Desktop.
This file contains 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
# AWS.Tools.* modules must be imported first to get all property information. | |
Get-Module -Name *AWS* | Import-Module | |
Get-Command *Tag* | Where-Object -Property Source -Like '*aws*' | ForEach-Object { | |
[pscustomobject]@{ | |
Name = $_.Name | |
TagParameterType = $_.Parameters.Values | Where-Object -Property Name -Like '*tag*' | Select-Object -ExpandProperty ParameterType | |
} | |
} | Where-Object -Property TagParameterType -NE $Null | Group-Object TagParameterType |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment