# SU10 Check Script # # This script checks the installation of Exchange SU10/SU10V2 and verifies the presence and integrity of specific files. # 2026 www.msxfaq.de Set-PSDebug -strict Write-Host "Locating Exchange Installation Directory" $exinstall = (Get-Itemproperty HKLM:\SOFTWARE\Microsoft\ExchangeServer\v15\Setup).msiinstallpath if (!(test-path -LiteralPath $exinstall)) { Write-Host "Exchange Installation Directory not found. Check path" -ForegroundColor red exit 99 } Write-Host "Exchange Installation Directory: $exinstall" Write-Host "Checking Exchange Version" -nonewline if (!(test-path -LiteralPath "$($exinstall)\Bin\ExSetup.exe")) { Write-Host "Exchange ExSetup.exe not found. Check path" -ForegroundColor red exit 100 } $exsetupbuild = (get-item "$($exinstall)\Bin\ExSetup.exe").Versioninfo.fileversion Write-Host " ExSetup: $($exsetupbuild)" -nonewline if ($exsetupbuild -eq "15.02.2562.049") { Write-Host " - Found Exchange SE SU10V1 - Installation V2 or newer recommended" -foregroundcolor yellow } elseif ($exsetupbuild -eq "15.02.2562.053") { Write-Host " - Found Exchange SE SU10V2" -foregroundcolor green } else { Write-Host "ExSetup not found or incorrect version" -foregroundcolor red exit 101 } Write-Host "Checking korwbrkr.dll" -nonewline if (!(test-path -LiteralPath "$($exinstall)\Bin\Search\Ceres\Native\korwbrkr.dll")){ Write-Host "korwbrkr.dll not found. Check path" -ForegroundColor red exit 110 } $filehash = (Get-Filehash "$($exinstall)\Bin\Search\Ceres\Native\korwbrkr.dll" -Algorithm SHA256) if ($filehash.hash -eq '1C6BD8E144BA677EBCC83323AE59DB3881918170F9B3A5189B44611558B92C61') { Write-Host " Found valid version" -foregroundcolor green } else { Write-Host " File not found or invalid version" -foregroundcolor red exit 111 } Write-Host "Checking ko.token.rule.bin" -nonewline if (!(test-path -LiteralPath "$($exinstall)\Bin\Search\Ceres\Native\ko.token.rule.bin")){ Write-Host " not found. Copy Required" -ForegroundColor red } else { $filehash = Get-FileHash -LiteralPath "$($exinstall)\Bin\Search\Ceres\Native\ko.token.rule.bin" -Algorithm SHA256 if ($filehash.hash -eq '8F2BD853593913EB8F73DCD4FCAC4216F216A0FF76A4569DF071BE3C36773010') { Write-Host " Found valid version" -foregroundcolor green } else { Write-Host " File is invalid version - Copy Required" -foregroundcolor red exit 121 } } Write-Host "Checking ko.complex.rule.bin" -nonewline if (!(test-path -LiteralPath "$($exinstall)\Bin\Search\Ceres\Native\ko.complex.rule.bin")){ Write-Host " not found. Copy Required" -ForegroundColor red } else { $filehash = Get-FileHash -LiteralPath "$($exinstall)\Bin\Search\Ceres\Native\ko.complex.rule.bin" -Algorithm SHA256 if ($filehash.hash -eq '0390D1E9A76EF33283025CF8F164430E311584B9535949C4EA1A74B6BB107B87') { Write-Host " Found valid version" -foregroundcolor green } else { Write-Host " File is invalid version - Copy Required" -foregroundcolor red exit 121 } } Write-Host "Done"