Test-PowerShellIs32Bit

Tests if the current PowerShell process is 32-bit.

Syntax

Test-PowerShellIs32Bit [<CommonParameters>]

Description

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

Related Commands

Return Values

System.Boolean.

EXAMPLE 1

Test-PowerShellIs32Bit

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