Viewing the statistics of the Anti-Virus and Attachment and Content Filtering modules
Users who have been assigned one of the following roles can view the statistics of the Anti-Virus and Attachment and Content Filtering modules in Windows PowerShell:
Administrator
Anti-Virus Security Officer
Anti-Virus Security Operator.
To view the statistics of the Anti-Virus and Attachment and Content Filtering modules:
<server name> is the name of the protected Microsoft Exchange server. We recommend that you specify the full address of the server in FQDN format or the IP address.
<interval start> is the starting date of the interval for which you need to view the statistics.
<interval end> is the ending date of the interval for which you need to view the statistics.
<role> is the role in which the application has been deployed. Available values:
Mailbox — Anti-Virus for the Mailbox role
Transport — Anti-Virus for the Hub Transport role.
Windows PowerShell displays the following information details:
TotalCheckedObjects — Total number of messages scanned by the module over the specified period
CleanObjects — Number of non-infected messages
InfectedObjects — Number of infected messages
DisinfectedObjects — Number of disinfected messages
PasswordProtectedObjects — Number of messages that contain password-protected files (this parameter is applicable to the Mailbox role)
SuspiciousObjects — Number of possibly infected messages
AttachmentFilteredObjects — Number of messages that meet the attachment and content filtering criteria (this setting is only applicable to the Transport role; it is always equal to 0 for the Mailbox role).
SkippedByLicenseErrorObjects — Number of messages that have not been scanned due to license issues
SkippedByTimeoutObjects — Number of messages that have not been scanned due to a waiting timeout
SkippedByProcessingErrorObjects — Number of messages that have not been scanned due to processing errors.
Example of a command that displays the statistics of the Anti-Virus for the Hub Transport role and Attachment and Content Filtering modules on server.domain.com over the last 24 hours:
Get-KSEAVServerStatistics -ServerFqdn server.domain.com -From $(Get-Date).AddDays(-1) -To $(Get-Date)-AntivirusRole Transport
If the Kaspersky Security for Microsoft Exchange Servers (KSCM8) service is not yet running, the Get-KSEAVServerStatistics command returns System.ServiceModel.EndpointNotFoundException.