How to get the messages in Exchange that come from @gmail.com:
[PS] C:\>Get-MessageTrackingLog -Start "09/01/2021" -Recipient This e-mail address is being protected from spambots. You need JavaScript enabled to view it -Resultsize Unlimited |?{[string]$_.sender -like "*@gmail.com*"} |Select eventid,source,messagesubject,originalclientip