Is Your Windows 32 or 64 bit?

As a developer and consultant I often need to know which version of an OS I’m on and whether it’s 32 or 64 bit. In *nix it’s trivial (uname -mrs).

But how do you find out whether Windows is 32 or 64 bit when your client’s friendly neighbourhood infrastructure and desktop team have blocked users from My Computer properties? I was surprised (again) today that systeminfo doesn’t carry this crucial information, at least, not where I could see it.

windows key + R and type dxdiag, hit return. The line Operating System tells you whether 32 or 64 bit.

TBH, I’d prefer if there was a CLI command that told me.