What does the ${env:ProgramFiles(x86)} Powershell variable contain on a 32bit/x86 system?
${env:ProgramFiles(x86)}
is not defined on a 32-bit machine. You can test against $null
to verify that.
${env:ProgramFiles(x86)}
is not defined on a 32-bit machine. You can test against $null
to verify that.