32bit
cmd.exe /c echo . | powershell.exe -ExecutionPolicy Bypass -command “(Get-ItemProperty -Path ‘HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration’ -ErrorAction SilentlyContinue -WarningAction SilentlyContinue) | Select-Object -ExpandProperty VersionToReport”
64bit
cmd.exe /c echo . | powershell.exe -ExecutionPolicy Bypass -command “(Get-ItemProperty -Path ‘HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration’ -ErrorAction SilentlyContinue -WarningAction SilentlyContinue)”