To find the owner of DL
Hi Team,
One my user is called and asked us, that he wants the list of names of all the distribution LIST where he is the owner of the DL(DDL and PDL)
How can i find the all DL's where the particular user is owner of all DL's
is that PS command to find....or Script to be run....
Please help!!!
September 9th, 2010 1:36pm
I have put up the below script, check out the below link:
http://www.myexchangeworld.com/2010/09/vbscript-to-find-distribution-listgroup-dl-owned-by-a-user/
thanks
Thiyagu
Thiyagu | MCTS/MCITP - Exchange 2007 | MCSE 2003[Messaging] | http://www.myExchangeWorld.com. This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2010 12:11pm
Hi Rush2ramki,
Based on your description, you want to get all the Distribution Lists where the specific user is the owner.
So please performance the following PS commands:
[PS] C:\>Get-DistributionGroup -ManagedBy <your customer’s name> | Select-Object Name
[PS] C:\>Get-DynamicDistributionGroup -ManagedBy <your customer’s name> | Select-Object Name
And if you want to make it easy to statistics, you can perform the following script:
[PS] C:\>$dg = Get-DistributionGroup -Managedby <your customer’s name> | Select-Object Name
[PS] C:\>$ddg = Get-DynamicDistributionGroup -Managedby <your customer’s name> | Select-Object Name
[PS] C:\>$dg,$ddg
For detailed, you can refer the following articles,
Get-DistributionGroup:
http://technet.microsoft.com/en-us/library/bb124755(EXCHG.80).aspx
Managing Distribution Groups:
http://technet.microsoft.com/en-us/library/bb125256(EXCHG.80).aspx
If you have any questions, please feel free let me know.
Best regards,
Yang
September 10th, 2010 12:45pm