I am trying to figure out if there is a location in WMI that will return the OS Architecture (i.e. 32-bit or 64-bit) that will work across \"all\" versions of Windows. I though
To expand on the first answer, use this:
select AddressWidth from Win32_Processor where DeviceID="CPU0"