CmdID / PowerShell / Cmdlets / Get
Get-DistributionGroupMember
Use the Get-DistributionGroupMember cmdlet to view the members of distribution groups and mail-enabled security groups. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the distribution group or mail-enabled security group.-CredentialThe Credential parameter specifies the username and password that's used to run this command.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.-IncludeSoftDeletedObjectsThe IncludeSoftDeletedGroups switch specifies whether to include soft-deleted group members in the results.-ReadFromDomainControllerThe ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.