Microsoft Exchange Server Detection

Summary
This script detects the installed version of Microsoft Exchange Server and sets the result in KB. The script logs in via smb, searches for Exchange Server in the registry and gets the version from registry or file.
Detection
registry version check