SyntaxFix
Write A Post
Hire A Developer
Questions
Or add "sort name" to list alphabetically
Get-ADPrincipalGroupMembership username | select name | sort name