CmdID / PowerShell / Cmdlets / Get
Get-CsTeamsCustomBannerText
Enables administrators to configure a custom text on the banner displayed when compliance recording bots start recording the call. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 1 parameter Its page in the reference
Parameters
-IdentityPolicy instance name (optional).