Summary:  A quick Reference Guide for script variables by operating system and server versions: 

$(KACE_DEPENDENCY_DIR)

    • This is the folder where any script dependencies for this script are downloaded to the client.
    • 5.2+ $(KACE_DATA_DIR)\packages\kbots\xxx.
    • 5.1 $(KACE_INSTALL)\packages\kbots\xxx.

$(KACE_INSTALL)

$(KACE_INSTALL_DIR)

$(KBOX_INSTALL_DIR)

    • Installation directory for executables, scripts, packages, etc.
    • All are synonymous. Preferred: $(KACE_INSTALL)
    • 5.2+ Win7/Vista C:\ProgramData\Dell\KACE
    • 5.2+ XP C:\Documents and Settings\All Users\Dell\KACE
    • 5.2+ Mac OS X /Library/Application Support/Dell/KACE/bin
    • 5.2+ Linux /opt/dell/kace
    • 5.1 Windows c:\Program Files\KACE\KBOX

$(KACE_SYS_DIR)

$(KBOX_SYS_DIR)

    • agent machine's system directory.
    • Both are synonymous. Preferred: $(KACE_SYS_DIR)
    • Windows C:\Windows\System32
    • Mac OS X /
    • Linux /

$(KACE_MAC_ADDRESS)

$(MAC_ADDRESS)

$(KBOX_MAC_ADDRESS)

    • agent machine's primary ethernet MAC address.
    • All are synonymous. Preferred: $(KACE_MAC_ADDRESS)

$(KACE_IP_ADDRESS)

$(KBOX_IP_ADDRESS)

    • Both are synonymous. Preferred: $(KACE_IP_ADDRESS)

$(KACE_SERVER_URL)

$(KACE_SERVER)

    • hostname of K1000 server. kbox

$(KACE_SERVER_PORT)

    • port to use when connecting to the K1000 server. (80/443)

$(KACE_SERVER_URLPREFIX)

    • web protocol to use when connecting to the K1000 server. (http/https)

$(KACE_COMPANY_NAME)

    • agent's copy of the setting from server's config page

$(KACE_KUID)

$(KBOX_MACHINE_ID)

    • this is the unique Dell/KACE ID assigned to this agent.
    • Both are synonymous. Preferred: $(KACE_KUID)

$(KACE_APP_DIR)

    • Installation directory the Dell/KACE agent and plugins.
    • for older agents this is mapped to: $(KACE_INSTALL)
    • 5.2+ Windows C:\Program Files\Dell\KACE or C:\Program Files (x86)\Dell\KACE
    • 5.2+ Mac OS X /Library/Application Support/Dell/KACE/bin
    • 5.2+ Linux /opt/dell/kace
    • 5.1 $(KACE_INSTALL)

$(KACE_DATA_DIR)

    • Installation directory for executables, scripts, packages, etc.
    • for older agents this is mapped to: $(KACE_INSTALL)
    • 5.2+ Win7/Vista C:\ProgramData\Dell\KACE
    • 5.2+ XP C:\Documents and Settings\All Users\Dell\KACE
    • 5.2+ Mac OS X /Library/Application Support/Dell/KACE/data
    • 5.2+ Linux /var/dell/kace
    • 5.1 $(KACE_INSTALL)

$(KACE_AGENT_VERSION)

    • substitutes the version number of the installed agent."5.2.12345"
    • 5.2+ Only

$(KACE_AGENT_ARCH)

    • substitutes the architecture of the installed agent."x86/x64"
    • 5.2+ Windows Only

$(KACE_HARDWARE_ARCH)

    • substitutes the architecture of the physical hardware."x86/x64"
    • 5.2+ Windows Only

$(KACE_OS_FAMILY)

    • substitutes windows, mac, or linux depending on the operating system of the agent machine.
    • 5.2+ Only

$(KACE_OS_ARCH)

    • substitutes x86 or x64 depending on the architecture of the installed version of Microsoft Windows.
    • 5.2+ Windows Only