Depending on how automated you want to be, use one or the other of the techniques shown here:
http://theessentialexchange.com/blogs/michael/archive/2008/02/08/Multivalued-Parameters-.aspx http://theessentialexchange.com/blogs/michael/archive/2009/04/07/more-multi-valued-parameters-in-powershell-sourcetransportservers-in-set-sendconnector.aspx And there even more ways to skin this cat in PowerShell. Collection manipulation has a very rich set of features. But, in my opinion, the two methods shown above are the easiest to understand. From: [email protected] [mailto:[email protected]] On Behalf Of David McSpadden Sent: Wednesday, October 29, 2014 1:50 PM To: [email protected] Subject: [Exchange] Script SMTP-relay ip's Is there a way to script multiple IP's to an SMTP Relay?? This e-mail and any files transmitted with it are property of Indiana Members Credit Union, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this email is strictly prohibited. Please consider the environment before printing this email.
