This example returns a list of members for the dynamic distribution group called "full-time employees". The first command dynamic distribution group object stored in a variable $FTE
in. The second command using the Get-Recipient cmdlet listed and defined conditions for the dynamic distribution group that matches the recipient.
$FTE = Get-DynamicDistributionGroup "Full Time Employees"
Get-Recipient -RecipientPreviewFilter $FTE.RecipientFilter -OrganizationalUnit $FTE.RecipientContainer