Skip to content

[Bug] variable $envOSArchitecture has different result values than those specified in the documentation and compared to PSADT version 3.x #276

@neo42rkh

Description

@neo42rkh

Prerequisites

PSAppDeployToolkit version

4.1.8

Describe the bug

Not sure, if the current result values of variable $envOSArchitecture are expected like they are
in v3.x:
32-bit system: 32-bit
64-bit system: 64-bit
in v4.x:
32-bit system: X86
64-bit system: X64
The documentation still says: 32-bit/64-bit.
I understand that the v3 values are the number of bits or "bitness" of the system and not really the architecture. However, this leads to incorrect results when converting the v3 script logic to v4 script logic, as the same variable returns different results...
If the old values cannot be returned, at least the correct values should be specified in the documentation!

Translated with DeepL.com (free version)

Steps to reproduce

  1. get output of $enOSArchitecture (with PSADT v4 compared to PSADT v3)

Environment data

OsName               : Microsoft Windows 11 Enterprise
OSDisplayVersion     : 25H2
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-Bit
WindowsVersion       : 2009
WindowsProductName   : Windows 10 Enterprise
WindowsBuildLabEx    : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage           : de-DE
OsMuiLanguages       : {de-DE, en-US}
KeyboardLayout       : de-DE
TimeZone             : (UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien
HyperVisorPresent    : True
CsPartOfDomain       : True
CsPCSystemType       : Mobile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions