IBM SPSS SamplePower Version Detection (Windows)

Summary
Detection of installed version of IBM SPSS SamplePower on Windows. The script logs in via smb, searches for IBM SPSS SamplePower in the registry, gets the from registry.
Detection
registry version check