Antzs
asked on
Exchange 2013 Message Tracking
$recipients = Read-Host "Enter Recipients"
$Start = Read-Host "Enter Start Date"
$End = Read-Host "Enter End Date"
Get-ExchangeServer | ? {$_.isHubTransportServer -eq $true -or $_.isMailboxServer -eq $true} | %{Get-MessageTrackingLog -ResultSize Unlimited -server $_.Name -recipients $recipients -Start $Start -End $End | select {$_.Recipients},Sender,client-ip,client-hostname,messagesubject,timestamp,source,eventid} | Export-csv c:\Output\msgtrck1.csv -nti
I am using the current code for message tracking in Exchange 2013. But the output for client-ip and client-hostname is always blank. Is my syntax wrong?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
have a look at https://technet.microsoft. com/en-us/ library/cc 539064.asp x this describes the fields . This is for 2007 but i believe they are the same.
I hope this helps
Joe
I hope this helps
Joe
ASKER