CmdID / PowerShell / Cmdlets / Get
Get-CsTeamsGuestMessagingConfiguration
TeamsGuestMessagingConfiguration determines the messaging settings for the guest users. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 4 parameters Its page in the reference
Parameters
-FilterEnables you to use wildcard characters in order to return a collection of tenant guest messaging configuration settings.-IdentitySpecifies the collection of tenant guest messaging configuration settings to be returned.-LocalStoreThis parameter is not used with Skype for Business Online.-TenantThis parameter is reserved for internal Microsoft use.