Viewing the protection status of a Microsoft Exchange server
August 7, 2024
ID 116184
Users who have been assigned one of the following roles can view the protection status of the Microsoft Exchange server in Windows PowerShell:
- Administrator
- Anti-Virus Security Officer
- Anti-Virus Security Operator.
To view the protection status of a Microsoft Exchange server:
- Run Windows PowerShell (Run as Administrator) and connect the Kse.Powershell library.
- Run command:
Get-KSEServerStatus -ServerFqdn <server name>
where <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.
Windows PowerShell displays the following information details:
- ServerFqdn — Name of the protected Microsoft Exchange server.
- LicenseStatus — Status of the Security Server key:
- Valid — Current license. The functionality of Anti-Virus and Anti-Spam is unlimited.
- Expired — The license expired. Updates of Anti-Virus and Anti-Spam databases are prohibited, Kaspersky Security Network cannot be used.
- NoLicenseKey — No key is available. The functionality of the Anti-Virus and Anti-Spam modules is not available, updates of Anti-Virus and Anti-Spam databases are prohibited.
- InconsistentUpdate — Application databases are corrupted or unavailable.
- BlackListed — The key has been blocked. Only updates of Anti-Virus and Anti-Spam databases are available. The functionality of the Anti-Virus and Anti-Spam modules is unavailable.
- LicenseExpirationDate is the Security Server license expiration date (if no key is specified for the Security Server, the DateTime.MinValue is displayed as 1/1/0001 12:00:00 AM).
- TransportAntivirusStatus – status of the Anti-Virus module for the Hub Transport role:
- Running — The module is enabled.
- WorksWithErrors — The module is running with errors.
- TurnedOff — The module is disabled.
- NotInstalled — The module is not installed.
- ImpossibleToInstall — The module cannot be installed in this Microsoft Exchange server configuration.
- MailboxAntivirusStatus — Status of Anti-Virus for the Mailbox role (Running, WorksWithErrors, TurnedOff, NotInstalled, ImpossibleToInstall). Same setting values as for TransportAntivirusStatus.
- AntispamStatus — Status of Anti-Spam (Running, WorksWithErrors, TurnedOff, NotInstalled, ImpossibleToInstall). Same setting values as for TransportAntivirusStatus.
- AttachmentFilteringStatus — Status of the Attachment and Content Filtering module (Running, WorksWithErrors, TurnedOff, NotInstalled, ImpossibleToInstall). Same setting values as for TransportAntivirusStatus.
- SqlServerStatus — Status of the SQL server connection:
- Running — The SQL server is available.
- TurnedOff — The SQL server is not available.
- WorksWithErrors — The SQL server is running with errors.
- AntivirusBasesCumulativeStatus — Status of Anti-Virus databases:
- UpToDate — Anti-Virus databases are up-to-date.
- Outdated — Anti-Virus databases are outdated.
- Error — An error occurred during an Anti-Virus database update.
- NotAvailable — Anti-Virus databases are not available.
- AntivirusBasesIssueDateUtc — Release date and time (UTC) of the currently used version of Anti-Virus databases.
- AntispamBasesCumulativeStatus — Status of Anti-Spam databases (UpToDate, Outdated, Error, NotAvailable). Same setting values as for AntivirusBasesCumulativeStatus.
- AntispamBasesIssueDateUtc — Release date and time (UTC) of the currently used version of Anti-Spam databases.
If the Kaspersky Security for Microsoft Exchange Servers (KSCM8) service is not yet running, the Get-KSEServerStatus command returns System.ServiceModel.EndpointNotFoundException.