Solved

DLs and owners

Posted on 2012-12-20
1
330 Views
Last Modified: 2012-12-20
Powershell command to search all the DLs and output a list with the owner(s) of the DLs.
0
Comment
Question by:xmouser
1 Comment
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 38710918
If you are having exchange 2007 or 2010 then run the following command in Exchange management Shell..

To list the details
Get-DistributionGroup -ResultSize Unlimited | Select Name,ManagedBy

Open in new window

To export the details to csv file..
Get-DistributionGroup -ResultSize Unlimited | Select Name,ManagedBy | Export-Csv C:\test.csv -NoTypeInformation

Open in new window


For exchange 2010
Get-DistributionGroup-ResultSize Unlimited | Select Name,@{N="ManagedBy";E={[string]::join(“;”,$_.managedby)}} | Export-Csv C:\test.csv -NoTypeInformation

Open in new window

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Synchronize a new Active Directory domain with an existing Office 365 tenant
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question