/
PowerPackGlobal Variables

PowerPackGlobal Variables

Variable

Data type

Example

Variable

Data type

Example

$global:gsProgramFiles

string

C:\Program Files

$global:gsProgramFilesx86

string

C:\Program Files (x86)

$global:gsWindowsDir

string

C:\Windows

$global:gsWorkstationPath

string

C:\Program Files\CapaInstaller\Client\

$global:gsSystemRoot

string

C:\Windows

$global:gsSystemDir

string

C:\Windows\System32

$global:gsSystemDirx86

string

C:\Windows\Syswow64

$global:gsLogDir

string

C:\Program Files\CapaInstaller\Client\Logs

$global:gsTempDir

string

C:\Program Files\CapaInstaller\Client\Logs\Temp

$global:gsOsSystem

string

Microsoft Windows 11 Pro N

$global:gsLog

string

C:\Program Files\CapaInstaller\Client\Logs\WS Ready To Use\Install.log

$global:AppLogFolder

string

C:\Program Files\CapaInstaller\Client\Logs\WS Ready To Use

$global:gsLogName

string

Install.log

$global:gsTask

string

INSTALL

$global:gbDisablelog

bool

False

$global:gbSuficientDiskSpace

bool

True

$global:gsJobName

string

WS Ready To Use

$global:gsLibrary

string

C:\Program Files\CapaInstaller\Client\Lib

$global:gbx64

bool

True

$global:gsCommonPrograms

string

C:\ProgramData\Microsoft\Windows\Start Menu\Programs

$global:gsSysDrive

string

C:

$global:gsCommonDesktop

string

C:\Users\Public\Desktop

$global:gsCommonStartMenu

string

C:\ProgramData\Microsoft\Windows\Start Menu

$global:gsCommonStartup

string

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

$global:gsCommonFilesDir

string

C:\Program Files\Common Files

$global:gsCommonFilesDirx86

string

C:\Program Files (x86)\Common Files

$global:gsCommonAppData

string

C:\ProgramData

$global:gsProgramData

string

C:\ProgramData

$global:gsProductid

string

WS Ready To Use

$global:gsAllusers

string

C:\ProgramData

$global:gsWorkstationName

string

TEST01

$global:gsOsBuild

string

22631

$global:gsEditionId

string

ProfessionalN

$global:gsDisplayVersion

string

23H2

$global:gsWindowsType

string

WinNT

$global:gsOsArchitechture

string

X64

$global:gsWindowsVersion

string

6.3

$global:gsUnitName

string

593F4D56-97B0-0CE5-A288-46DD2907041E

$global:gsComputerManufacturer

string

VMware, Inc.

$global:gsComputerModel

string

VMware20,1

$global:gsUUID

string

593F4D56-97B0-0CE5-A288-46DD2907041E

Comes from Initialize-Variables