Malwarebytes Anti-Malware Version Detection (Windows)

Summary
Detection of installed version of Malwarebytes Anti-Malware. The script logs in via smb, searches for Malwarebytes Anti-Malware in the registry and gets the version from 'DisplayVersion' string from registry.
Detection
registry version check