Comments on: New-DistributionGroup: A PowerShell Cmdlet Which Gets No Respect https://practical365.com/new-distributiongroup-powershell-cmdlet/ Practical Office 365 News, Tips, and Tutorials Tue, 20 Dec 2022 23:40:17 +0000 hourly 1 https://wordpress.org/?v=6.3.2 By: Tony Redmond https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-248683 Tue, 20 Dec 2022 23:40:17 +0000 https://practical365.com/?p=51314#comment-248683 In reply to Eric Legault.

Yep. You absolutely can. I am not sure when this changed, but maybe that’s age playing tricks on me (again).

]]>
By: Eric Legault https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-248681 Tue, 20 Dec 2022 22:47:41 +0000 https://practical365.com/?p=51314#comment-248681 Hi Tony,
Note that you can indeed specify the owners and members in the New-DistributionGroup cmdlet – see the -Members and -ManagedBy parameters

]]>
By: Tony Redmond https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-236063 Mon, 26 Jul 2021 09:49:03 +0000 https://practical365.com/?p=51314#comment-236063 In reply to Ishwarya S.

Did you check the message trace for messages to see why the members of the DL are not receiving email? Is it just one DL or every DL?

]]>
By: Ishwarya S https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-236061 Mon, 26 Jul 2021 07:45:49 +0000 https://practical365.com/?p=51314#comment-236061 Hi ,

I am using powershell to send automatic mails to users group DL along with individual users .
Individual users are getting the mail but DLs are not getting the sent mail .

how to enable it in powershell for windows 10 . Please suggest me some solution.

Thanks
Ishwarya S

]]>
By: Tony Redmond https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-235910 Fri, 09 Jul 2021 22:46:58 +0000 https://practical365.com/?p=51314#comment-235910 In reply to Alex.

You mean migrate distribution lists? If so, this is possible using PowerShell. It takes some planning and coding to cover all the bases, but it’s feasible and has been done before.

]]>
By: Alex https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-235908 Fri, 09 Jul 2021 19:13:45 +0000 https://practical365.com/?p=51314#comment-235908 Can we automate the mailbox migration from onprem to O365 using ps script?

]]>
By: Tony Redmond https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-235823 Thu, 01 Jul 2021 23:13:05 +0000 https://practical365.com/?p=51314#comment-235823 In reply to Beto Schmitt.

I don’t believe you can add a distribution list as a member of a shared mailbox.

]]>
By: Beto Schmitt https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-235820 Thu, 01 Jul 2021 20:10:08 +0000 https://practical365.com/?p=51314#comment-235820 Olá!

Agradeço a ajuda, mas o que procuro é:
– uma conta compartilhada ter como membro uma lista de distribuição DL;

É possível?
Obrigado

]]>
By: Paul Westlake (Content+Cloud) https://practical365.com/new-distributiongroup-powershell-cmdlet/#comment-234705 Wed, 12 May 2021 07:57:51 +0000 https://practical365.com/?p=51314#comment-234705 Good article Tony and having just had to perform the arduous task of “migrating” 9,000 DL’s from on-prem AD to become Cloud managed groups in AAD, I can honestly say Microsoft *really* need to invest in this area.

Not to mention that AAD Groups of Type Distribution cannot be changed to become Mail Enabled Security Groups, they have to be removed and recreated!

And of course Update-DistributionGroupMember is great to bulk add members *As long as they all exist*! Even if one of the members you are adding is missing the whole CMDLET fails leading to complex pre-validation routines to build the members lists which, in itself, slows the process.

Lastly, if you do want to perform this process en-mass and some of the groups in AD on-prem are mail enabled security groups, without major investigation into where they are permitting access, you need to use Disable-DistributionGroup and leave them there, leading to disconnect between the DL in the AAD and the Security Group in AD!

Definitely Time to Consider DLs Again!

]]>