This time we’re retrieving Microsoft Office 2016 Version with Get-ItemProperty
This is the fastest way i know to retrieve this value. You could also use Get-WmiObject win32_product but it will probably not be as fast.
$Version = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" $Version.ClientVersionToReport