-
RES Automation Manager & Exchange Mailing Lists
Posted on February 15th, 2011 No commentsThe power of Automation Manager & PowerShell. Thanx to Anne Plancius!
Not quite yet the point and click system that it, perhaps, should be. Call it the battle between ‘man and machine’. But with a bit of creativity, some PowerShell frags and a dash of Google, most things conceived can be procured. This little gem of information shows how to use PowerShell commands in conjunction with RES Automation Manager (formerly know as Wisdom) to create Exchange mailing lists.
These PowerShell commands have only been tested in an Exchange 2007 environment, but they could also work in and Exchange 2010 environment. Please feel free to use them at your own risk!
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin
chdir “c:\program files\microsoft\exchange server\bin”
New-DistributionGroup -Name “Managers” -OrganizationalUnit “Contoso.com/Users” -SAMAccountName “Managers” -Type “Distribution”
These commands should be used with the following variable to ensure re-usability and flexibility:
groupname: which is the name of the distribution group you want to create path in Active Directory: in which OU do you want to create the distribution group
Which should result in:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin
chdir “c:\program files\microsoft\exchange server\bin”
New-DistributionGroup -Name “$[groupname]” -OrganizationalUnit “$[path in Active Directory]” -SAMAccountName “$[groupname]” -Type “Distribution”
A building block will be made available in the very near future.



Comments