You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PhishZapEnabled parameter specifies whether to enable [zero-hour auto purge (ZAP)](https://docs.microsoft.com/office365/securitycompliance/zero-hour-auto-purge) to detect phish messages in the user's Inbox. Valid values are:
803
+
804
+
- $true: Phish ZAP is enabled. Phish messages that are detected in the user's Inbox (regardless of read or unread status) are automatically moved to the Junk Email folder. This is the default value.
805
+
806
+
- $false: Phish ZAP is disabled.
807
+
808
+
**Note**: The ZapEnabled parameter that controls both phish ZAP and spam ZAP will be deprecated in a future release. During the transition, both parameters will be available. If you have scripts that use the ZapEnabled parameter for phish, we recommend updating them to use this parameter instead. By default, the value for this parameter is inherited from the ZapEnabled parameter. After you configure phish ZAP in the admin center or by using this parameter, the value of the ZapEnabled parameter for phish ZAP is ignored.
The QuarantineRetentionPeriod parameter specifies the length of time in days that spam messages remain in the quarantine. Valid input for this parameter is an integer between 1 and 15. The default value is 15.
801
824
@@ -872,6 +895,27 @@ Accept pipeline input: False
872
895
Accept wildcard characters: False
873
896
```
874
897
898
+
### -SpamZapEnabled
899
+
The SpamZapEnabled parameter specifies whether to enable [zero-hour auto purge (ZAP)](https://docs.microsoft.com/office365/securitycompliance/zero-hour-auto-purge) to detect unread spam messages in the user's Inbox. Valid values are:
900
+
901
+
- $true: Spam ZAP is enabled. Unread spam messages that are detected in the user's Inbox are automatically moved to the Junk Email folder. This is the default value.
902
+
903
+
- $false: Spam ZAP is disabled.
904
+
905
+
**Note**: The ZapEnabled parameter that controls both phish ZAP and spam ZAP will be deprecated in a future release. During the transition, both parameters will be available. If you have scripts that use the ZapEnabled parameter for spam, we recommend updating them to use this parameter instead. By default, the value for this parameter is inherited from the ZapEnabled parameter. After you configure spam ZAP in the admin center or by using this parameter, the value of the ZapEnabled parameter for spam ZAP is ignored.
The TestModeAction parameter specifies the additional action to take on messages that match any of the IncreaseScoreWith or MarkAsSpam parameters that are set to the value Test. Valid values are:
The ZapEnabled parameter specifies whether to enable zero-hour auto purge (ZAP) for spam. ZAP detects unread spam messages that have already been delivered to the user's Inbox. Valid values are:
930
-
931
-
- $true: ZAP for spam is enabled. Unread spam messages that are detected in the user's Inbox are automatically moved to the Junk Email folder. This is the default value.
932
-
933
-
- $false: ZAP for spam is disabled.
934
-
935
-
Note: ZAP for spam requires that the following action parameters are set to the value MoveToJmf:
973
+
The ZapEnabled parameter specifies whether to enable zero-hour auto purge (ZAP) for phish and spam. Valid values are:
936
974
937
-
- BulkSpamAction
975
+
- $true: ZAP for phish and spam is enabled. Unread spam messages or phish messages (regardless of read or unread status) that are detected in the user's Inbox are automatically moved to the Junk Email folder. This is the default value.
938
976
939
-
- HighConfidenceSpamAction
977
+
- $false: ZAP for phish and spam is disabled.
940
978
941
-
- PhishSpamAction
942
-
943
-
- SpamAction
979
+
**Note**: This parameter will be deprecated in a future release. During the transition, this parameter and the PhishZapEnabled and SpamZapEnabled parameters will be available. If you have scripts that use this parameter, we recommend updating them to use the PhishZapEnabled and SpamZapEnabled parameters instead. By default, the value for the PhishZapEnabled and SpamZapEnabled parameters is inherited from this parameter. After you configure phish ZAP or spam ZAP in the admin center or by using the PhishZapEnabled and SpamZapEnabled parameters, the value of this parameter is ignored.
The PhishZapEnabled parameter specifies whether to enable [zero-hour auto purge (ZAP)](https://docs.microsoft.com/office365/securitycompliance/zero-hour-auto-purge) to detect phish messages in the user's Inbox. Valid values are:
825
+
826
+
- $true: Phish ZAP is enabled. Phish messages that are detected in the user's Inbox (regardless of read or unread status) are automatically moved to the Junk Email folder. This is the default value.
827
+
828
+
- $false: Phish ZAP is disabled.
829
+
830
+
**Note**: The ZapEnabled parameter that controls both phish ZAP and spam ZAP will be deprecated in a future release. During the transition, both parameters will be available. If you have scripts that use the ZapEnabled parameter for phish, we recommend updating them to use this parameter instead. By default, the value for this parameter is inherited from the ZapEnabled parameter. After you configure phish ZAP in the admin center or by using this parameter, the value of the ZapEnabled parameter for phish ZAP is ignored.
The QuarantineRetentionPeriod parameter specifies the length of time in days that spam messages remain in the quarantine. Valid input for this parameter is an integer between 1 and 15. The default value is 15.
823
846
@@ -902,6 +925,28 @@ Accept pipeline input: False
902
925
Accept wildcard characters: False
903
926
```
904
927
928
+
### -SpamZapEnabled
929
+
The SpamZapEnabled parameter specifies whether to enable [zero-hour auto purge (ZAP)](https://docs.microsoft.com/office365/securitycompliance/zero-hour-auto-purge) to detect unread spam messages in the user's Inbox. Valid values are:
930
+
931
+
- $true: Spam ZAP is enabled. Unread spam messages that are detected in the user's Inbox are automatically moved to the Junk Email folder. This is the default value.
932
+
933
+
- $false: Spam ZAP is disabled.
934
+
935
+
**Note**: The ZapEnabled parameter that controls both phish ZAP and spam ZAP will be deprecated in a future release. During the transition, both parameters will be available. If you have scripts that use the ZapEnabled parameter for spam, we recommend updating them to use this parameter instead. By default, the value for this parameter is inherited from the ZapEnabled parameter. After you configure spam ZAP in the admin center or by using this parameter, the value of the ZapEnabled parameter for spam ZAP is ignored.
The TestModeAction parameter specifies the additional action to take on messages when the IncreaseScoreWith or MarkAsSpam parameters that are set to the value Test. Valid values are:
The ZapEnabled parameter specifies whether to enable zero-hour auto purge (ZAP). ZAP detects unread messages that have already been delivered to the user's Inbox. Valid values are:
1004
+
The ZapEnabled parameter specifies whether to enable zero-hour auto purge (ZAP) for phish and spam. Valid values are:
1005
+
1006
+
- $true: ZAP for phish and spam is enabled. Unread spam messages or phish messages (regardless of read or unread status) that are detected in the user's Inbox are automatically moved to the Junk Email folder. This is the default value.
960
1007
961
-
- $true: ZAP is enabled. Unread messages that are detected in the user's Inbox are automatically moved to the Junk Email folder. This is the default value.
1008
+
- $false: ZAP for phish and spam is disabled.
962
1009
963
-
- $false: ZAP is disabled.
1010
+
**Note**: This parameter will be deprecated in a future release. During the transition, this parameter and the PhishZapEnabled and SpamZapEnabled parameters will be available. If you have scripts that use this parameter, we recommend updating them to use the PhishZapEnabled and SpamZapEnabled parameters instead. By default, the value for the PhishZapEnabled and SpamZapEnabled parameters is inherited from this parameter. After you configure phish ZAP or spam ZAP in the admin center or by using the PhishZapEnabled and SpamZapEnabled parameters, the value of this parameter is ignored.
0 commit comments