AWS code-library documentation change
Summary
Added PowerShell V5 example for ListGroups command with sample output and API reference
Security assessment
Demonstrates group listing functionality without security-specific context or vulnerability mitigation.
Diff
diff --git a/code-library/latest/ug/iam_example_iam_ListGroups_section.md b/code-library/latest/ug/iam_example_iam_ListGroups_section.md index 700946549..1c0840f6c 100644 --- a//code-library/latest/ug/iam_example_iam_ListGroups_section.md +++ b//code-library/latest/ug/iam_example_iam_ListGroups_section.md @@ -268,0 +269,35 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example returns a collection of all the IAM groups defined in the current AWS account.** + + + Get-IAMGroupList + + +**Output:** + + + Arn : arn:aws:iam::123456789012:group/Administrators + CreateDate : 10/20/2014 10:06:24 AM + GroupId : 6WCH4TRY3KIHIEXAMPLE1 + GroupName : Administrators + Path : / + + Arn : arn:aws:iam::123456789012:group/Developers + CreateDate : 12/10/2014 3:38:55 PM + GroupId : ZU2EOWMK6WBZOEXAMPLE2 + GroupName : Developers + Path : / + + Arn : arn:aws:iam::123456789012:group/Testers + CreateDate : 12/10/2014 3:39:11 PM + GroupId : RHNZZGQJ7QHMAEXAMPLE3 + GroupName : Testers + Path : / + + * For API details, see [ListGroups](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +