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
You can try the syntax below using wmic to determine the platform:
wmic path win32_processor where deviceid="cpu0" get Addresswidth