I did look at the UDF library and found an option for MSOffice, but it isn't pulling through for some reason.

I did find something that works for what I need though
 Code:
$MSVer = readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Common\ProductVersion", "LastProduct")
$MSVer


This pulls through the version number (ex. 15.0.x.x for Office 2013) which is fine with me as long as it states it has office.