This is a little dirty Script to Check for vulnerables Exchange Servers by CVE-2020-0688 It's written ugly and in PHP. Caution: It only checks if you have the actual CU update installed. That doesn't mean that you have installed the bugfix patch!
You need php-cli and php-curl
First clone the repo:
git clone https://github.com/righter83/CVE-2020-0688
Scan a single server (without https://)
php scanner.php mail.cust.ch
Scan a whole IP Range
php scanner.php 1.1.1.0/24