I’ve just uploaded an update to the Start-MailGen.ps1 script, which is a free PowerShell script that you can use to generate email traffic within a test lab environment.
This new version has the following updates and improvements:
- Updated to use Exchange Web Services Managed API 2.0
- Tested on Exchange Server 2010 and 2013
- Fixes bug where last mailbox in alphabetical order would never be picked as a sender or recipient
- Added code for Exchange snap-in to load to simplify running script as a scheduled task
- Distribution groups are now included as possible recipients of emails
- Recipient list is refreshed on every loop so that newly created recipients are included
- Messages are now sent to a random number of recipients between 1 and 5 instead of only single recipients (you can increase this if you like)
- Messages will now randomly include a file attachment chosen from the \Attachments folder. This will happen about 30% of the time. You can add your own attachments to that folder if you want more variety as well.
Usage instructions and download link are here.
This article Start-MailGen.ps1 – Test Lab Email Generator PowerShell Script Updated to V1.01 is © 2014 ExchangeServerPro.com
Get more Exchange Server tips at ExchangeServerPro.com