blob: 2be4c1137111f44a51d8fed9c235074cb1f03abb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[CmdletBinding()]
param(
)
$out = ${env:ProgramW6432}
if ($out -eq $null)
{
$out = ${env:PROGRAMFILES}
}
if ($out -eq $null)
{
throw "Could not find [Program Files Platform Bitness]"
}
return $out
|