In PowerShell v3 (CTP2 publicly available) it is finally a snap to determine whether you are on a 64-bit machine and/or shell. PowerShell 3.0 is able to provide this useful information thanks to .NET Framework 4.0 BTW
PS> [system.environment]::Is64BitOperatingSystem True PS> [system.environment]::Is64BitProcess True