Get-ADGroup -filter * -Properties * | Select Name,GroupCategory,Description | Export-Csv D:TestSecurityGroups.csv
import-module activedirectory
$username = Read-Host 'Please enter Username!'
Get-ADPrincipalGroupMembership $username | Get-ADGroup -Properties * | select name, description