I want to get only the display name of the users who have permission to send email to a Distribution group.. Can i get the same via Exchange Management shell?
What i am trying now is
Get-DistributionGroup -Identity "XXXXXXX" | fl AcceptMessagesOnlyFrom
Where XXXX is the name of the Distribution Group, The output is like this
DomainName\OU\Group\Display Name
The problem here is i am unable to work on excel as most of the users belongs to different groups and OU's
Can i get an Output with just displayname?
If so can anyone please share the command in Exchange management shell
Naveen Chandra G.V