August 6th, 2014

PowerTip: Determine if PowerShell is a 64-Bit Version

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to easily find out if the shell is a 64-bit version.

Hey, Scripting Guy! Question How can I use Windows PowerShell to determine if I am currently running a 64-bit version?

Hey, Scripting Guy! Answer Use the Is64BitProcess static method from the System.Environment class:

[System.Environment]::Is64BitProcess

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.