Home
Office version information script
Office 365 (Office) Tuesday, 14 June 2022 by paul

The following script returns information about the current installed version of Microsoft Office including:

  • Version of Office
  • Office Products installed
  • Update Channel
  • Has Update Channel been changed (requiring OfficeC2RClient.exe being run)
  • Platform (32/64 bit)
# Get Office install data

$VersionToReport = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "VersionToReport" | Select -ExpandProperty VersionToReport
$ProductReleaseIds = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "ProductReleaseIds" | Select -ExpandProperty ProductReleaseIds
$UpdateChannelChanged = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "UpdateChannelChanged" | Select -ExpandProperty UpdateChannelChanged
$AudienceData = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "AudienceData" | Select -ExpandProperty AudienceData
$Platform = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "Platform" | Select -ExpandProperty Platform

$ProductReleaseIds = $ProductReleaseIds.replace(',','; ')

$output="$VersionToReport, $Platform, $ProductReleaseIds, $AudienceData, $UpdateChannelChanged"
Write-Output $output

 


Add Comment
No Comments.