CmdID / PowerShell / Cmdlets / Set
Set-ExternalInOutlook
Use the Set-ExternalInOutlook cmdlet to modify the configuration of external sender identification that's available in Outlook, Outlook for Mac, Outlook on the web, and Outlook for iOS and Android. Exchange PowerShell reference
From the Exchange PowerShell reference 3 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the GUID of the external sender identification object that you want to modify.-AllowListThe AllowList parameter specifies exceptions to external sender identification in supported versions of Outlook.-EnabledThe Enabled parameter enables or disables external sender identification in supported versions of Outlook.