locked
get distribution list and managed by of the list RRS feed

  • Question

  • Hi All,

    How to get distribution list and managed by of the list using powershall commond. Please help me.


    Ganga
    Tuesday, January 31, 2012 8:44 PM

Answers

  • Hi,

    I got the above requested report using below command,

    Get-Group -resultsize unlimited -recipienttype "mailnonuniversalgroup" | format-table managedby > C:\Users\Gmani\Documents\3.csv

    Get-Group -resultsize unlimited -recipienttype "mailnonuniversalgroup" | format-table grouptyep > C:\Users\Gmani\Documents\2.csv

    Get-Group -resultsize unlimited -recipienttype "mailnonuniversalgroup" | format-table displayname > C:\Users\Gmani\Documents\1.csv

    Regards

    Ganga


    Ganga
    • Marked as answer by Gangaiyan Monday, February 6, 2012 2:16 PM
    Monday, February 6, 2012 2:16 PM

All replies

  • Try this Get-DistributionGroup | ft Name, ManagedBy -AutoSize
    Martina Miskovic
    • Proposed as answer by Rowen-Xu Wednesday, February 1, 2012 6:58 AM
    Tuesday, January 31, 2012 8:46 PM
  • Hi Martina,

    I have used Get-DistributionGroup -resesultsize ulimitted | ft Name, ManagedBy -AutoSize.

    Thanks for your support.

    Regards

    Ganga


    Ganga
    Tuesday, January 31, 2012 10:20 PM
  • Hi Martina,

    I need your help,

    I have 1000 Distribution group and i have assign respective person owner on the group.

    But when user try to Modify distribustion in outlook, its giving "dont have permission to modify the group".

    Also i have checked Role Bassed access controll has been applied to his mailbox.

    But when we open on the owa it was working fine.

    Is it we need to do anything from server end?

    kindly help me.


    Ganga
    Tuesday, January 31, 2012 10:28 PM
  • Hi Ganga,

    See the information in this blog post.
    http://blogs.technet.com/b/exchange/archive/2009/11/18/3408844.aspx
    Martina Miskovic
    • Proposed as answer by Rowen-Xu Wednesday, February 1, 2012 6:58 AM
    Wednesday, February 1, 2012 4:39 AM
  • Hi Martina,

    I have collecting Non-Universal Group list using below command, but when I include ManagedBy on this, I am not getting data.

    Can you verify and help me on this.

    It was working fine:

    Get-Group  | Where {$_.GroupType -Like "Global*"  -AND $_.RecipientType -eq "MailNonUniversalGroup"} |Export-Csv H:\NonUniversal.csv

    Its not working :

    Get-Group  | Where {$_.GroupType -Like "Global*"  -AND $_.RecipientType -AND $._Managedby -eq "MailNonUniversalGroup"} |Export-Csv H:\NonUniversal.csv

    Regards

    Ganga


    Ganga
    Thursday, February 2, 2012 3:25 PM
  • HI

    Can anyone help me on this.

     


    Ganga
    Friday, February 3, 2012 9:19 PM
  • Hi,

    I got the above requested report using below command,

    Get-Group -resultsize unlimited -recipienttype "mailnonuniversalgroup" | format-table managedby > C:\Users\Gmani\Documents\3.csv

    Get-Group -resultsize unlimited -recipienttype "mailnonuniversalgroup" | format-table grouptyep > C:\Users\Gmani\Documents\2.csv

    Get-Group -resultsize unlimited -recipienttype "mailnonuniversalgroup" | format-table displayname > C:\Users\Gmani\Documents\1.csv

    Regards

    Ganga


    Ganga
    • Marked as answer by Gangaiyan Monday, February 6, 2012 2:16 PM
    Monday, February 6, 2012 2:16 PM