CmdID

CmdID / PowerShell / Cmdlets / Set

Set-SafeAttachmentPolicy

Use the Set-SafeAttachmentPolicy cmdlet to modify safe attachment policies in your cloud-based organization. Exchange PowerShell reference

From the Exchange PowerShell reference 9 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

9 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the safe attachment policy that you want to modify.
-ActionThe Action parameter specifies the action for the safe attachment policy.
-AdminDisplayNameThe AdminDisplayName parameter specifies a description for the policy.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-EnableThe Enable parameter works with the Action parameter to specify the action for the safe attachment policy.
-QuarantineTagThe QuarantineTag parameter specifies the quarantine policy that's used on messages that are quarantined as malware by Safe Attachments.
-RedirectThe Redirect parameter specifies whether to deliver messages to an alternate email address if malware is detected in an attachment.
-RedirectAddressThe RedirectAddress parameter specifies the destination email address to deliver messages if malware is detected in an attachment.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.