< Back

Test-COSIs64Bit

Sun Jan 12, 2020 11:26 pm

NAME Test-COSIs64Bit



SYNOPSIS

Tests if the current operating system is 64-bit.





SYNTAX

Test-COSIs64Bit [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Boolean.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Test-COSIs64Bit



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











RELATED LINKS

http://msdn.microsoft.com/en-us/library ... ystem.aspx