Check for 64-bit Environment

by Feb 13, 2012

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

Twitter This Tip! ReTweet this Tip!