CmdID / PowerShell / Cmdlets / Get
Get-AgentLog
Use the Get-AgentLog cmdlet to parse log files that you specify as parameters and collect raw statistics from the filtering that anti-spam agents apply during a time period that you specify. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-EndDateThe EndDate parameter specifies the end date of the date range.-LocationThe Location parameter specifies the directory that contains the log files that you can use to build usage reports.-StartDateThe StartDate parameter specifies the start date of the date range.-TransportServiceThe TransportService parameter specifies the transport service that you want to view or modify.