Get the operating system architecture address width.
Get-OSArchitectureWidth `
[-Compare <Object>]This will return the system architecture address width (probably 32 or
64 bit). If you pass a comparison, it will return true or false instead
of {32|64}.
When your installation script has to know what architecture it is run on, this simple function comes in handy.
Available as Get-OSArchitectureWidth in 0.9.10+. If you need
compatibility with pre 0.9.10, please use the alias Get-ProcessorBits.
Get-OSBitness
Get-ProcessorBits
None
None
[[Function Reference|HelpersReference]]
NOTE: This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Get-OSArchitectureWidth -Full.
View the source for Get-OSArchitectureWidth