Always getting 1500 member of distribution list using PowerShell

前端 未结 3 1188
你的背包
你的背包 2021-01-14 14:23

I would like to get all members (mail address) of a certain distribution list. Currently I just recieve the first 1500 members. My Script looks like that:

         


        
3条回答
  •  清歌不尽
    2021-01-14 15:15

    This will work quite nicely, requires the active directory module

    (Get-ADGroup $Group -Properties members).members

提交回复
热议问题