CmdID / PowerShell / Cmdlets / New
New-TeamsProtectionPolicy
Use the New-TeamsProtectionPolicy cmdlet to create Microsoft Teams protection policies. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-NameThe Name parameter specifies the unique name of the Teams protection policy.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-HighConfidencePhishQuarantineTagThe HighConfidencePhishQuarantineTag parameter specifies the quarantine policy that's used for messages that are quarantined as high confidence phishing by ZAP for Teams.-MalwareQuarantineTagThe MalwareQuarantineTag parameter specifies the quarantine policy that's used for messages that are quarantined as malware by ZAP for Teams.-OrganizationThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.-ZapEnabledThe ZapEnabled parameter specifies whether to enable zero-hour auto purge (ZAP) for malware and high confidence phishing messages in Teams messages.