Help creating script to see if 32 bit or 64 bit office then change a registry key accordingly

Hi, I want to run a script on all our workstations that check if they are running 32 bit or 64 bit office then update registry key for another piece of software.

anyone done anything like this before? before you ask we are runnign 32bit on some machines due to an old piece of software they need doesnt support 64bit


Welcome to the forums. I am sure there is a way to perform this through PowerShell. What have you tried so far in regard to this?

This might be a cheesy way to get test for 32 bit …

($Word = New-Object -ComObject 'Word.Application').Path -Match 'x86'
1 Like