pramod1
asked on
powershell, active directory. shared mailbox, distribution group
how to get members of distribution group through windows PowerShell
also how get alias smtp addresses of a shared mailbox through command shell in active directory
also how get alias smtp addresses of a shared mailbox through command shell in active directory
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am running on active directory
the shared mailbox cmdlets will need to be run in o365 shell. the DL can also be run in o365 shell
ASKER
Thanks that helped I am trying to find powershell commandlet to get member of
Like one user is member of 20 groups I need to get in csv
Like one user is member of 20 groups I need to get in csv
run the below to export to csv file:
Get-DistributionGroupMembe r "DL Group name" | Select DisplayName, primarysmtpaddress | Export-CSV C:\temp\results.csv
Get-DistributionGroupMembe
ASKER
Thank you sir
sure thing
ASKER
Do I need to umpire any module