|
| 1 | +--- |
| 2 | +author: dlb233 |
| 3 | +Locale: en-US |
| 4 | +Module Name: MicrosoftTeams |
| 5 | +ms.author: lingbodu |
| 6 | +online version: https://learn.microsoft.com/powershell/module/microsoftteams/new-CsTeamsRecordingAndTranscriptionCustomMessage |
| 7 | +schema: 2.0.0 |
| 8 | +title: New-CsTeamsRecordingAndTranscriptionCustomMessage |
| 9 | +--- |
| 10 | + |
| 11 | +# New-CsTeamsRecordingAndTranscriptionCustomMessage |
| 12 | + |
| 13 | +> [!NOTE] |
| 14 | +> This feature has not been fully released yet, so the setting will have no effect. |
| 15 | +
|
| 16 | +## SYNOPSIS |
| 17 | + |
| 18 | +Create a concrete prompt message setting in multiple languages and multiple scenarios to be displayed to participants after recording or transcription has started. |
| 19 | + |
| 20 | +## SYNTAX |
| 21 | + |
| 22 | +``` |
| 23 | +New-CsTeamsRecordingAndTranscriptionCustomMessage |
| 24 | + [-Id <System.Guid>] |
| 25 | + [-Description <String>] |
| 26 | + [-RecordingAndTranscriptionLocalizationCustomMessage <RecordingAndTranscriptionLocalizationCustomMessage>] |
| 27 | + [<CommonParameters>] |
| 28 | +``` |
| 29 | + |
| 30 | +## DESCRIPTION |
| 31 | + |
| 32 | +The strings defined by this command is used for display after recording or transcription is started in a meeting. |
| 33 | +Based on the different scenarios when recording or transcription is enabled, we provide different keys for customization, as detailed below. |
| 34 | +These strings will not take effect immediately after being created; they need to be associated with other configurations and policies. |
| 35 | + |
| 36 | +This command will define a complete custom message override policy that can be directly assigned to users. |
| 37 | +It specifies the In-meeting notification(UFD) prompt content that users with different roles will see in six different scenarios when starting recording and transcription, across various language environments. |
| 38 | +After this configuration is successfully completed, you can assign the generated Id to the user’s RecordingAndTranscriptionCustomMessageIdentifier field to apply the policy to that user. Afterwards, in meetings hosted by this user, once the language and scenario match, participants will see the new In-meeting notification(UFD) message customized by this command. |
| 39 | + |
| 40 | +## EXAMPLES |
| 41 | + |
| 42 | +### Example 1 |
| 43 | + |
| 44 | +```powershell |
| 45 | +PS C:\> New-CsTeamsRecordingAndTranscriptionCustomMessage -Id '39dc3ede-c80e-4f19-9153-417a65a1f144' |
| 46 | +``` |
| 47 | + |
| 48 | +The command shown in Example 1 creates an in-memory instance of a CsTeamsRecordingAndTranscriptionCustomMessage with no content. It can be set to RecordingAndTranscriptionCustomMessageIdentifier but nothing will change. |
| 49 | + |
| 50 | +### Example 2 |
| 51 | + |
| 52 | +``` |
| 53 | +$en = New-CsTeamsRecordingAndTranscriptionLocalizationCustomMessage -Language "en-US" -InitiatorImplicit "This call is being recorded." -ParticipantImplicit "This call is being recorded." |
| 54 | +>> $zh = New-CsTeamsRecordingAndTranscriptionLocalizationCustomMessage -Language "zh-CN" -InitiatorExplicit "请注意,此通话正在录音。" -ParticipantExplicitRequested "此通话正在录音,我们将在得到您同意后再录制你的声音。" |
| 55 | +>> New-CsTeamsRecordingAndTranscriptionCustomMessage -Description "Multi languages record custom message" -RecordingAndTranscriptionLocalizationCustomMessage @($en, $zh) |
| 56 | +``` |
| 57 | + |
| 58 | +Example 2 demonstrates a complete case, defining the recording and transcription prompt messages that users see in English and Chinese under different scenarios. |
| 59 | + |
| 60 | +If such policy applied to the meeting organizer, then: |
| 61 | + |
| 62 | +- Current user is recording/transcription intiator, Teams language is English US", the meeting organizer doesn't enable consent recording/transcription, when current user start recording or transcript, he/she will see "This call is being recorded.". |
| 63 | + |
| 64 | +- Current user is normal participant, Teams language is English US, the meeting organizer doesn't enable consent recording/transcription, when recording or transcript started, current user will see "This call is being recorded." |
| 65 | + |
| 66 | +- Current user is recording/transcription intiator, Teams language is Chinese simplify, the meeting organizer enable the consent recording/transcription, when current user start recording or transcript, he/she will see "请注意,此通话正在录音。" |
| 67 | + |
| 68 | +- Current user is normal participant, Teams language is Chinese simplify, the meeting organizer enable the consent recording/transcription,after someone started recording or transcription, he will see "此通话正在录音,我们将在得到您同意后再录制你的声音。" |
| 69 | + |
| 70 | +## Parameters |
| 71 | + |
| 72 | +### -Id |
| 73 | + |
| 74 | +The ObjectId of the CsTeamsRecordingAndTranscriptionCustomMessage setting, By assigning the ID to the **RecordingAndTranscriptionCustomMessageIdentifier** field in the meeting policy or calling policy, you can associate the current custom prompt message configuration with a user group or individual users. |
| 75 | + |
| 76 | +At the same time, when creating CsTeamsRecordingAndTranscriptionCustomMessage, it is not necessary to explicitly specify the ID; a GUID will be automatically generated and stored as the Id. |
| 77 | + |
| 78 | +### -DESCRIPTION |
| 79 | + |
| 80 | +Add a description for CsTeamsRecordingAndTranscriptionCustomMessage. |
| 81 | + |
| 82 | +### -RecordingAndTranscriptionLocalizationCustomMessage |
| 83 | + |
| 84 | +Set the specific recording and transcription prompt messages to be customized. The type is a list of TeamsRecordingAndTranscriptionLocalizationCustomMessage, with each element in the list representing a custom message for a particular language. For more information, please refer to New-CsTeamsRecordingAndTranscriptionLocalizationCustomMessage. |
| 85 | + |
| 86 | +```yaml |
| 87 | +Type: TeamsRecordingAndTranscriptionLocalizationCustomMessage[] |
| 88 | +Parameter Sets: (All) |
| 89 | +Aliases: |
| 90 | + |
| 91 | +Required: False |
| 92 | +Position: Named |
| 93 | +Default value: None |
| 94 | +Accept pipeline input: False |
| 95 | +Accept wildcard characters: False |
| 96 | +``` |
| 97 | +
|
| 98 | +## RELATED LINKS |
| 99 | +
|
| 100 | +[Set-CsTeamsRecordingAndTranscriptionCustomMessage](https://learn.microsoft.com/powershell/module/microsoftteams/set-CsTeamsRecordingAndTranscriptionCustomMessage) |
| 101 | +
|
| 102 | +[Get-CsTeamsRecordingAndTranscriptionCustomMessage](https://learn.microsoft.com/powershell/module/microsoftteams/Get-CsTeamsRecordingAndTranscriptionCustomMessage) |
| 103 | +
|
| 104 | +[Remove-CsTeamsRecordingAndTranscriptionCustomMessage](https://learn.microsoft.com/powershell/module/microsoftteams/remove-CsTeamsRecordingAndTranscriptionCustomMessage) |
| 105 | +
|
| 106 | +[New-CsTeamsRecordingAndTranscriptionLocalizationCustomMessage](https://learn.microsoft.com/powershell/module/microsoftteams/new-CsTeamsRecordingAndTranscriptionLocalizationCustomMessage) |
0 commit comments