Solved

DLs and owners

Posted on 2012-12-20
1
328 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This article will help you understand what HashTables are and how to use them in PowerShell.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now