< Back

Test-CPowerShellIs32Bit

Sun Jan 12, 2020 11:30 pm

NAME Test-CPowerShellIs32Bit



SYNOPSIS

Tests if the current PowerShell process is 32-bit.





SYNTAX

Test-CPowerShellIs32Bit [<CommonParameters>]





DESCRIPTION

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





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-CPowerShellIs32Bit



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











RELATED LINKS

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