CmdID / PowerShell / Cmdlets / Test
Test-SiteMailbox
Use the Test-SiteMailbox cmdlet to test the site mailbox to Microsoft SharePoint connectivity and to test whether users have the correct permissions to use a site mailbox. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the site mailbox that you want to test.-BypassOwnerCheckThe BypassOwnerCheck parameter is used when the account that's running the command isn't a member or owner of the site mailbox.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-RequestorIdentityThe RequestorIdentity parameter specifies the user to test for correct permissions to the SharePoint site mailbox.-SharePointUrlThe SharePointUrl parameter specifies the SharePoint URL where the site mailbox is hosted, for example, "https://myserver/teams/edu".-UseAppTokenOnlyThe UseAppTokenOnly switch specifies that you want to test the site mailbox by using the identity of the Exchange server.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.