I would like to pull a list of user groups using the following code`(Get-ADPrincipalGroupMembership 'username' | select -expand name | sort) | format-table -Property name` then out-file it to a .txt file but before doing that I would also like to pull out the groups from the same list that start with 'DMS' in the name in a different .txt or the same one in as a two column format if possible.