Hi,
I have tried to get a recipient policy going for Exchange 2013 based on database. Here is the command and error I get"
New-EmailAddressPolicy -Name 'Students' -EnabledPrimarySMTPAddressTemplates "SMTP:%g.%s@students.olin.edu" -Priority '1' -IncludedRecipients MailboxUsers -RecipientFilter { (Database -eq "CN=Students,CN=Databases,CN=Exchange Administrative Group(FYDIBOHF23SPDLT),CN=AdministrativeGroups,CN=OLIN,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=ADroot,DC=local") }
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo : InvalidArgument: (:) [New-EmailAddressPolicy], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,New-EmailAddressPolicy
+ PSComputerName : ex03.olin.edu
I have tried numerous things and looked around but have yet to determine what is wrong in the syntax above. Any ideas?
Thanks,
Kurt