|
Parameter
|
Required
|
Type
|
Description
|
|---|
|
ApplyRightsProtectionTemplate
|
Required
|
Microsoft.Exchange.Configuration.Tasks.RmsTemplateIdParameter
|
The ApplyRightsProtectionTemplate parameter specifies the AD RMS template to apply to the message. An AD RMS template can be specified using the template name. Use the Get-RMSTemplate cmdlet to retrieve templates from your AD RMS server.
|
|
Name
|
Required
|
System.String
|
The Name parameter specifies a name for the rule.
|
|
Confirm
|
Optional
|
System.Management.Automation.SwitchParameter
|
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.
|
|
DomainController
|
Optional
|
Microsoft.Exchange.Data.Fqdn
|
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.
|
|
Enabled
|
Optional
|
System.Boolean
|
The Enabled parameter specifies whether the Outlook protection rules are enabled. New Outlook protection rules are enabled by default. To create a rule without enabling it, set the Enabled parameter to $false.
|
|
Force
|
Optional
|
System.Management.Automation.SwitchParameter
|
The Force switch specifies whether to suppress the confirmation prompt used to warn the administrator when rules are created without any conditions. Rules without any conditions specified apply to all messages. The Force switch doesn't require a value.
|
|
FromDepartment
|
Optional
|
System.String[]
|
The FromDepartment parameter specifies the sender's department as a condition. The user's department property is compared with the value specified.
|
|
Organization
|
Optional
|
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter
|
The Organization parameter is reserved for internal Microsoft use.
|
|
Priority
|
Optional
|
System.Int32
|
The Priority parameter specifies whether to set the order of processing of Outlook protection rules. Rules with a lower priority value are executed first.
|
|
SentTo
|
Optional
|
Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]
|
The SentTo parameter specifies one or more recipients as a rule condition. The identity of recipients in the organization or the SMTP address of external recipients can be specified.
The SentTo parameter doesn't accept wildcard characters. When multiple recipients are specified, messages sent to any of the specified recipients are considered a match.
|
|
SentToScope
|
Optional
|
Microsoft.Exchange.Management.OutlookProtectionRules.ToUserScope
|
The SentToScope parameter specifies the message scope as a condition. You can use one of the following values:
-
InOrganization This value is for messages sent to recipients within the organization.
-
All This value is for messages sent to all recipients.
|
|
UserCanOverride
|
Optional
|
System.Boolean
|
The UserCanOverride parameter specifies whether users can override actions taken by Outlook Protection Rules. By default, users can override actions taken by Outlook protection rules. When set to $false, the UserCanOverride parameter prevents the user from overriding the rule when sending the message.
|
|
WhatIf
|
Optional
|
System.Management.Automation.SwitchParameter
|
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.
|