Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

Add initial support for Exchange 2019 #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Test-ExchangeServerHealth.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,12 @@ foreach ($server in $exchangeservers)
{
$version = "Exchange 2016"
}

if ($ExVer -like "Version 15.2*")
{
$version = "Exchange 2019"
}


Write-Host $version
if ($Log) {Write-Logfile "Server is running $version"}
Expand Down Expand Up @@ -1424,7 +1430,11 @@ if ($($dags.count) -gt 0)
{
$contentindexstate = "Disabled"
}
else
elseif ($($dbcopy.ContentIndexState -match "NotApplicable") -or $($dbcopy.ContentIndexState -match "11" ))
{
$contentindexstate = "Healthy"
}
else
{
$contentindexstate = $dbcopy.ContentIndexState
}
Expand Down