The only consistent method I could find online to determine the bitness of Office, is to use WMI. It is pretty slow, but seems to work.

 Code:
$objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
$colSoft = $objWMIService.ExecQuery("SELECT * FROM Win32_Product WHERE Name Like 'Microsoft Office%'")

If $colSoft.Count = 0
   $bits = "na"		; Office not installed
Else
   For Each $objItem In $colSoft
      $item = $objitem.caption
      If InStr($item, "-bit") AND Len($bits) = 0
         $bits = Right(Split($item, "-bit")[0], 2)
      Endif
   Next
EndIf

? "Bits: "+$bits

get $


Edited by Mart (2014-01-09 05:02 PM)
Edit Reason: Updated title