If you’re shell is running on .NET 4.0 (PowerShell 3.0):
PS> [Environment]::Is64BitProcess
True
More Related Contents:
- In Powershell, what’s the best way to join two tables into one?
- How do you execute an arbitrary native command from a string?
- How can I tell if I’m running in 64-bit JVM or 32-bit JVM (from within a program)?
- “An attempt was made to load a program with an incorrect format” even when the platforms are the same
- PowerShell script not zipping correct files
- Reading 64bit Registry from a 32bit application
- How to redirect the output of a PowerShell to a file during its execution
- Watch file for changes and run command with powershell
- How to get disk capacity and free space of remote computer
- How do I run a VBScript in 32-bit mode on a 64-bit machine?
- Using sed, Insert a line above or below the pattern? [duplicate]
- How to run a PowerShell script within a Windows batch file
- How to make Android apps which support both 32-bit and 64-bit architecture?
- Stopping scripters from slamming your website
- What are the best ways to automate a GDB debugging session?
- PowerShell Script to Find and Replace for all Files with a Specific Extension
- What are the pros and cons of running IIS as 32bit vs 64bit on a 64bit OS?
- SetWindowsHookEx failing in .NET 4.0 on 32-bit machine with “module not found”?
- Linking 32-bit library to 64-bit program
- How to access the 64-bit registry from a 32-bit Powershell instance?
- How can I run a PowerShell script with white spaces in the path from the command line?
- VBScript getting results from Shell
- How to compile a linux shell script to be a standalone executable *binary* (i.e. not just e.g. chmod 755)?
- PowerShell display files size as KB, MB, or GB
- Creating a script for a Telnet session?
- gdb scripting: execute commands at selected breakpoint
- Class not registered Error
- Visual Basic scripting dynamic array
- Using Powershell environmental variables as strings when outputting files
- Move folder from one directory to another in batch script