PowerShell Developer Reference

The SetupPS runtime provides the PowerShell scripting environment used by AdvantageBuilder macros and templates. It exposes functions for database access, UI interaction, HTML forms, macro execution, JSON handling, ObjectStore integration, and .NET/COM interop.

Overview

AdvantageBuilder’s PowerShell runtime is a custom environment built on top of Windows PowerShell. It provides a unified API surface shared with JScript.NET and ClearScript V8, allowing macros and templates to run consistently across engines.

User Interaction

Database Access

HTML Forms (IE Engine)

HTML Forms (Edge Engine)

GUI / File System

Dataset / Data

JSON

Macro Execution

GUI / Status

Variables

Logger / Connection

ObjectStore

.NET / COM Interop

Macro Scheduler