Test-OSIs64Bit

Tests if the current operating system is 64-bit.

Syntax

Test-OSIs64Bit [<CommonParameters>]

Description

Regardless of the bitness of the currently running process, returns True if the current OS is a 64-bit OS.

Related Commands

Return Values

System.Boolean.

EXAMPLE 1

Test-OSIs64Bit

Returns True if the current operating system is 64-bit, and False otherwise.