CmdID / PowerShell / Cmdlets / Set
Set-CsTeamsMessagingConfiguration
The TeamsMessagingConfiguration determines the messaging settings for users in your tenant. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 15 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ContentBasedPhishingCheckThis setting enables content-based phishing detection for Teams messages in the tenant.-CustomEmojisThis setting enables/disables the use of custom emojis and reactions across the whole tenant.-EnableInOrganizationChatControlThis setting determines if chat regulation for internal communication in tenant is allowed.-EnableVideoMessageCaptionsThis setting determines if closed captions will be displayed, for Teams Video Clips, during playback.-FileTypeCheckThis setting enables weaponizable file detection in Teams messages in the tenant.-FileTypeCustomizationSetting*This setting applies only when FileTypeCheck is set to Enabled.*-FileTypeBlockList*This setting applies only when FileTypeCheck is set to Enabled.-ForceThe Force switch specifies whether to suppress warning and confirmation messages.-IdentitySpecifies the collection of tenant messaging configuration settings to be returned.-MessagingNotesThis setting enables/disables MessagingNotes integration across the whole tenant.-ReportIncorrectSecurityDetectionsThis setting enables the end users to Report incorrect security detections in Teams messages in the tenant.-UrlReputationCheckThis setting enables malicious URL detection in Teams messages in the tenant.-CommunitiesThis setting enables/disables Viva Engage Communities integration across the whole tenant.-WhatIf, -wiShows what would happen if the cmdlet runs.