CmdID / PowerShell / Cmdlets / New
New-CsTeamsComplianceRecordingPolicy
Creates a new Teams recording policy for governing automatic policy-based recording in your tenant. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 15 parameters Its page in the reference
Parameters
-ComplianceRecordingApplicationsA list of application instances of policy-based recording applications to assign to this policy.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CustomBannerReferences the Custom Banner text in the storage.-CustomPromptsEnabledIndicates whether compliance recording custom prompts feature in 1:1 PSTN calls is enabled for this tenant / user.-CustomPromptsPackageIdReference to custom prompts package.-DescriptionEnables administrators to provide explanatory text to accompany a Teams recording policy.-DisableComplianceRecordingAudioNotificationForCallsSetting this attribute to true disables recording audio notifications for 1:1 PSTN calls that are under compliance recording.-EnabledControls whether this Teams recording policy is active or not.-ForceSuppresses the display of any non-fatal error message that might arise when running the command.-IdentityUnique identifier to be assigned to the new Teams recording policy.-InMemoryCreates an object reference without actually committing the object as a permanent change.-RecordReroutedCallsSetting this attribute to true enables compliance recording for calls that have been re-routed from a compliance recording-enabled user.-TenantGlobally unique identifier (GUID) of the tenant account whose Teams recording policies are being queried.-WarnUserOnRemovalThis parameter is reserved for future use.-WhatIf, -wiShows what would happen if the cmdlet runs.