Hi @GurudasSatardekar
Thank you for asking this question on the **Microsoft Q&A Platform. **
You can find all the information about the commands Get-MessageTrace and Out-GridView
But a sequence of commands from PowerShell could be:
Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline
Get-MessageTrace -FromIP "The public ip" | Out-GridView
It will open a new window like this
Hope this helps,
Carlos Solís Salazar
----------
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.