distribution lists
3 TopicsUse PowerShell to Send Messages from Shared Mailboxes, Groups, and Distribution Lists
Everyone probably knows how to use Exchange's Send As and Send on Behalf of permissions to send email from user mailboxes. Here we venture into the same task, but for Microsoft 365 Groups, shared mailboxes, distribution lists, and mail-enabled security groups. Once your permissions are aligned, everything is pretty simple. https://practical365.com/sendas-send-on-behalf-of-mail-objects/33Views0likes0CommentsCollect count of emails sent to ALL Distribution Groups in ExOL
Hey Team, I am looking for PowerShell assistance, such as exporting a list of all distribution groups and measuring how many messages were sent to each DG in the past 10 days. Basically, how can I combine "Get-DistributionGroup -ResultSize Unlimited | Select-Object Name, DisplayName,GroupType,PrimarySmtpAddress | Export-csv c:\temp\DistributionGroupReport.csv -NoTypeInformation" and "Get-MessageTrace -StartDate (get-date).AddDays(-10) -EndDate (Get-Date) -RecipientAddress email address removed for privacy reasons | measure-object | Select Count" to a single csv, if possible. Thanks.109Views0likes1CommentMigration of Alias accounts & Mailing Lists from existing IMAP server
I am migrating a IMAP server, and from the account side of things, it seems pretty straightforward managing and monitoring alias account. I have two questions in addition: 1) Alias accounts. On my existing server I have mailto:alias@domain.com which forwards to an external address at mailto:name@domain2.com I have many of these accounts for individuals who are tied to the organization but are not employees. I am looking to mirror this functionality. I have read about a distribution list for each of these addresses, and then creating a contact for the mailto:name@domain2.com individual and specifying delivery to that contact in the distribution list, is this the most efficient way to handle this? 2) Mailing lists/groups - Similar to above I have a mailto:committtee@domain.com which is managed on my existing server and contains individuals both inside and outside of the company. The limitation is that it will only accept mail delivery between the individuals on the list, no access otherwise. Is there a solution to replicate this functionality. In both of my cases, I do not wish to offer a mailbox to these individuals, simply using the Exchange server as a relay to an external domain. Thank you to everyone in advance, I look forward to working more with O365 moving forward.764Views0likes0Comments