Test-PowerShellIs64Bit

Tests if the current PowerShell process is 64-bit/x64.

Syntax

Test-PowerShellIs64Bit [<CommonParameters>]

Description

Returns True if the currently executing PowerShell process is 64-bit/x64, False if it is 32-bit/x86.

Related Commands

Return Values

System.Boolean.

EXAMPLE 1

Test-PowerShellIs64Bit

Returns True if PowerShell is 64-bit/x64, False if it is 32-bit/x86.