CmdID / PowerShell / Cmdlets / New
New-OutlookProtectionRule
Use the New-OutlookProtectionRule cmdlet to create a Microsoft Outlook protection rule. Exchange PowerShell reference
From the Exchange PowerShell reference 12 parameters Its page in the reference
Parameters
-NameThe Name parameter specifies a name for the rule.-ApplyRightsProtectionTemplateThe ApplyRightsProtectionTemplate parameter specifies the AD RMS template to apply to the message.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-EnabledThe Enabled parameter specifies whether the Outlook protection rules are enabled.-ForceThe Force switch hides warning or confirmation messages.-FromDepartmentThe FromDepartment parameter specifies the sender's department as a condition.-PriorityThe Priority parameter specifies whether to set the order of processing of Outlook protection rules.-SentToThe SentTo parameter specifies one or more recipients as a rule condition.-SentToScopeThe SentToScope parameter specifies the message scope as a condition.-UserCanOverrideThe UserCanOverride parameter specifies whether users can override actions taken by Outlook protection rules.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.