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 required _ConnectionUri_ value depends on the nature of your Microsoft 365 organization. For more information, see the parameter description in [Connect-ExchangeOnline](https://docs.microsoft.com/powershell/module/exchange/connect-exchangeonline).
This cmdlet is available only in the cloud-based service.
17
17
18
-
Use the Disable-SafeAttachmentRule cmdlet to disable enabled Safe Attachments rules in your cloud-based organization.
18
+
Use the Disable-SafeAttachmentRule cmdlet to disable safe attachment rules in your cloud-based organization.
19
19
20
20
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity.
31
+
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Office 365 ATP](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
32
32
33
33
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
34
34
@@ -39,12 +39,12 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
39
39
Disable-SafeAttachmentRule -Identity "Engineering Department Attachment Rule"
40
40
```
41
41
42
-
This example disables the Safe Attachments rule named Engineering Department Attachment Rule.
42
+
This example disables the safe attachment rule named Engineering Department Attachment Rule.
43
43
44
44
## PARAMETERS
45
45
46
46
### -Identity
47
-
The Identity parameter specifies the enabled Safe Attachments rule that you want to disable.
47
+
The Identity parameter specifies the enabled safe attachment rule that you want to disable.
48
48
49
49
You can use any value that uniquely identifies the rule. For example:
This cmdlet is available only in the cloud-based service.
17
17
18
-
Use the Enable-SafeAttachmentRule cmdlet to enable disabled Safe Attachments rules in your cloud-based organization.
18
+
Use the Enable-SafeAttachmentRule cmdlet to enable safe attachment rules in your cloud-based organization.
19
19
20
20
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity.
31
+
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Office 365 ATP](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
32
32
33
33
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
34
34
@@ -39,12 +39,12 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
39
39
Enable-SafeAttachmentRule -Identity "Marketing Department Attachment Rule"
40
40
```
41
41
42
-
This example enables the disabled Safe Attachments rule named Marketing Department Attachment Rule.
42
+
This example enables the disabled safe attachment rule named Marketing Department Attachment Rule.
43
43
44
44
## PARAMETERS
45
45
46
46
### -Identity
47
-
The Identity parameter specifies the disabled Safe Attachments rule that you want to enable.
47
+
The Identity parameter specifies the disabled safe attachment rule that you want to enable.
48
48
49
49
You can use any value that uniquely identifies the rule. For example:
This cmdlet is available only in the cloud-based service.
17
17
18
-
Use the Get-SafeAttachmentPolicy cmdlet to view Safe Attachments policies in your cloud-based organization.
18
+
Use the Get-SafeAttachmentPolicy cmdlet to view safe attachment policies in your cloud-based organization.
19
19
20
20
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity.
31
+
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Office 365 ATP](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
32
32
33
33
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
34
34
@@ -39,19 +39,19 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
39
39
Get-SafeAttachmentPolicy
40
40
```
41
41
42
-
This example shows a summary list of all Safe Attachments policies.
42
+
This example shows a summary list of all safe attachment policies.
This cmdlet is available only in the cloud-based service.
17
17
18
-
Use the Get-SafeAttachmentRule cmdlet to view Safe Attachments rules in your cloud-based organization.
18
+
Use the Get-SafeAttachmentRule cmdlet to view safe attachment rules in your cloud-based organization.
19
19
20
20
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity.
31
+
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Office 365 ATP](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
32
32
33
33
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
34
34
@@ -39,19 +39,19 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
39
39
Get-SafeAttachmentRule
40
40
```
41
41
42
-
This example returns a summary list of all Safe Attachments rules in your organization.
42
+
This example returns a summary list of all safe attachment rules in your organization.
43
43
44
44
### Example 2
45
45
```powershell
46
46
Get-SafeAttachmentRule -Identity "Research Department Attachment Rule" | Format-List
47
47
```
48
48
49
-
This example returns detailed information about the Safe Attachments rule named Research Department Attachment Rule.
49
+
This example returns detailed information about the safe attachment rule named Research Department Attachment Rule.
50
50
51
51
## PARAMETERS
52
52
53
53
### -Identity
54
-
The Identity parameter specifies the Safe Attachments rule that you want to view.
54
+
The Identity parameter specifies the safe attachment rule that you want to view.
55
55
56
56
You can use any value that uniquely identifies the rule. For example:
Phishing messages contain fraudulent links or spoofed domains in an effort to get personal information from the recipients.
62
62
63
-
New antiphish policies aren't valid and aren't applied until you add an antiphish rule to the policy by using the New-AntiPhishRule cmdlet.
63
+
New policies that you create using this cmdlet aren't applied to users and aren't visible in admin centers. You need to use the AntiPhishPolicy parameter on the New-AntiPhishRule or Set-AntiPhishRule cmdlets to associate the policy with a rule.
64
64
65
65
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
New policies that you create using this cmdlet aren't applied to users and aren't visible in admin centers. You need to use the HostedOutboundSpamFilterPolicy parameter on the New-HostedOutboundSpamFilterRule or Set-HostedOutboundSpamFilterRule cmdlets to associate the policy with a rule.
43
+
42
44
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
New policies that you create using this cmdlet aren't applied to users and aren't visible in admin centers. You need to use the MalwareFilterPolicy parameter on the New-MalwareFilterRule or Set-MalwareFilterRule cmdlets to associate the policy with a rule.
55
+
54
56
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
This cmdlet is available only in the cloud-based service.
17
17
18
-
Use the New-SafeAttachmentPolicy cmdlet to create Safe Attachments policies in your cloud-based organization.
18
+
Use the New-SafeAttachmentPolicy cmdlet to create safe attachment policies in your cloud-based organization.
19
19
20
20
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
New Safe Attachments policies aren't valid and aren't applied until you add a Safe Attachments rule to the policy by using the New-SafeAttachmentRule cmdlet.
40
+
Safe Attachments is a feature in Office 365 Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Office 365 ATP](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
41
41
42
-
Safe Attachments is a feature in Advanced Threat Protection that opens email attachments in a special hypervisor environment to detect malicious activity.
42
+
New policies that you create using this cmdlet aren't applied to users and aren't visible in admin centers. You need to use the SafeAttachmentPolicy parameter on the New-SafeAttachmentRule or Set-SafeAttachmentRule cmdlets to associate the policy with a rule.
43
43
44
44
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
This example creates a new Safe Attachments policy named Marketing Block Attachments with the following options:
54
54
55
-
- The policy is enabled.
56
-
57
55
- The action is Block. This is the default value of the Action parameter, so you don't need to specify it.
58
56
59
-
-If Safe Attachments scanning isn't available or encounters errors, deliver the message as normal. The default value of the ActionOnError parameter is $false, so you don't need to specify it.
57
+
-Enable redirection for detected malware attachments and send the messages to [email protected].
-If Safe Attachments scanning isn't available or encounters errors, don't deliver the message as normal. The default value of the ActionOnError parameter is $true, so you don't need to specify it.
The ActionOnError parameter specifies the error handling option for Safe Attachments scanning (what to do if scanning times out or an error occurs). Valid values are:
109
107
110
-
- $true: The action specified by the Action parameter is applied to messages even when the attachments aren't successfully scanned.
108
+
- $true: The action specified by the Action parameter is applied to messages even when the attachments aren't successfully scanned. This is the default value.
111
109
112
-
- $false: The action specified by the Action parameter isn't applied to messages when the attachments aren't successfully scanned. This is the default value.
110
+
- $false: The action specified by the Action parameter isn't applied to messages when the attachments aren't successfully scanned.
The Enable parameter specifies whether policy is enabled. Valid values are:
165
-
166
-
- $true: The rule or policy is enabled.
167
-
168
-
- $false: The rule or policy is disabled. This is the default value.
162
+
This parameter isn't used. To enable or disable a safe attachment policy, use the Enabled parameter on the New-SafeAttachmentRule or Set-SafeAttachmentRule cmdlets.
0 commit comments