• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1247
  • Last Modified:

Powershell to extract IP address from the Exchange Transport Log for unique IP address of the sender

Hi People,

Can anyone please share with me the powershell script to export the list of Unique IP address that is sending to my Exchange Server Hub Transport Server ?
0
Senior IT System Engineer
Asked:
Senior IT System Engineer
1 Solution
 
SubsunCommented:
Try this code and see if you get expected result..
Get-MessageTrackingLog -ResultSize Unlimited | select ClientIp -Unique

Open in new window

To export to csv file..
Get-MessageTrackingLog -ResultSize Unlimited | select ClientIp -Unique | Export-csv C:\report.csv -nti

Open in new window

0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks Subsun ! it is exactly what I need :-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now