Syntax
New-EmailAddressPolicy -Name PolicyName
-EnabledPrimarySMTPAddressTemplate Template
-IncludedRecipients RecipientTypes
{AddtlParams} {ConditionalParams}
New-EmailAddressPolicy -Name PolicyName
-EnabledEmailAddressTemplates Templates
-RecipientFilter Filter
[-DisabledEmailAddressTemplates Templates
] {AddtlParams}
New-EmailAddressPolicy -Name PolicyName
-EnabledPrimarySMTPAddressTemplate Template
-RecipientFilter Filter
{AddtlParams}
New-EmailAddressPolicy -Name PolicyName
-EnabledEmailAddressTemplates Templates
-IncludedRecipients RecipientTypes
[-DisabledEmailAddressTemplates Templates
]
{AddtlParams} {ConditionalParams}
{AddtlParams}
[-DomainController DCName
] [-Organization OrgId
]
[-Priority Priority
] [-RecipientContainer OUId
]
{ConditionalParams}
[-ConditionalCompany CompanyNameFilter1, CompanyNameFilter2,...
]
[-ConditionalCustomAttributeN Value1
, Value2
, ...]
[-ConditionalDepartment DeptNameFilter1, DeptNameFilter2, ...
]
[-ConditionalStateOrProvince StateNameFilter1, StateNameFilter2, ...
]
Usage
New-EmailAddressPolicy -Name "Primary E-Mail Address Policy"
-IncludedRecipients "MailboxUsers, MailContacts, MailGroups"
-ConditionalCompany "City Power & Light"
-ConditionalDepartment "Sales","Marketing"
-ConditionalStateOrProvince "Washington","Idaho","Oregon"
-Priority "Lowest"
-EnabledEmailAddressTemplates "SMTP:%g.%s@cpandl.com"