Execute PSAppDeployToolkit Package
Execute a PSAppDeployToolKit package. The Invoke-AppDeployToolkit.exe file must be placed in the root of the folder. Remember to include the [Download Content] PowerBrick.
Parameters
Section titled “Parameters”Deployment Type
Section titled “Deployment Type”Optional — Default: Install
Specify the installation mode (Install, Uninstall, or Repair). Allowed values: Install, Uninstall, Repair.
Use PowerShell 7
Section titled “Use PowerShell 7”Optional — Default: True
Will use PowerShell 7 instead of Windows PowerShell 5.1 to run the script. Only works if PSAppDeployToolkit is version 4.1 or higher.
Deploy Mode
Section titled “Deploy Mode”Optional — Default: Silent
Specify the installation will be run in Interactive, Silent, NonInteractive or Auto mode. Auto requires PSAppDeployToolkit version 4.1 or higher. Allowed values: Auto, Interactive, NonInteractive, Silent.
Suppress Reboot Passthru
Section titled “Suppress Reboot Passthru”Optional — Default: True
Specify whether to suppress the 3010 exit code (reboot required) from being passed back to the parent process.
Terminal Server Mode
Section titled “Terminal Server Mode”Optional — Default: False
Changes to user install mode and back to user execute mode for installing/uninstalling applications on Remote Desktop Session Host/Citrix servers.
Disable Logging
Section titled “Disable Logging”Optional — Default: False
Disables logging to file for the script.
Architecture
Section titled “Architecture”Optional — Default: x64
Specify the PowerShell architecture to use for the script execution. Allowed values: x64, x86.
Return Code Handles
Section titled “Return Code Handles”Optional
Specify return codes and their status. Unlisted return codes will cause failure. PSADT exit codes: https://psappdeploytoolkit.com/docs/reference/exit-codes Allowed values: Success, Retry Execution Later.
Details
Section titled “Details”- Category: Installer
- Brick ID:
PSAppDeployToolkit
Raw JSON definition
Section titled “Raw JSON definition”{ "category": "installer", "description": "Execute a PSAppDeployToolKit package. The Invoke-AppDeployToolkit.exe file must be placed in the root of the folder. Remember to include the [Download Content] PowerBrick.", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "PSAppDeployToolkit", "name": "Execute PSAppDeployToolkit Package", "parameters": [ { "defaultValue": null, "defaultValueObject": { "id": "Install", "name": "Install" }, "description": "Specify the installation mode (Install, Uninstall, or Repair).", "id": "DeploymentType", "name": "Deployment Type", "regExValidation": null, "required": false, "type": "ComboBox", "value": null, "values": [], "valuesObject": [ { "id": "Install", "name": "Install" }, { "id": "Uninstall", "name": "Uninstall" }, { "id": "Repair", "name": "Repair" } ] }, { "defaultValue": "True", "defaultValueObject": null, "description": "Will use PowerShell 7 instead of Windows PowerShell 5.1 to run the script. Only works if PSAppDeployToolkit is version 4.1 or higher.", "id": "UsePowerShellCore", "name": "Use PowerShell 7", "regExValidation": null, "required": false, "type": "Boolean", "value": null, "values": [], "valuesObject": null }, { "defaultValue": null, "defaultValueObject": { "id": "Silent", "name": "Silent" }, "description": "Specify the installation will be run in Interactive, Silent, NonInteractive or Auto mode. Auto requires PSAppDeployToolkit version 4.1 or higher.", "id": "DeployMode", "name": "Deploy Mode", "regExValidation": null, "required": false, "type": "ComboBox", "value": null, "values": [], "valuesObject": [ { "id": "Auto", "name": "Auto" }, { "id": "Interactive", "name": "Interactive" }, { "id": "NonInteractive", "name": "NonInteractive" }, { "id": "Silent", "name": "Silent" } ] }, { "defaultValue": "True", "defaultValueObject": null, "description": "Specify whether to suppress the 3010 exit code (reboot required) from being passed back to the parent process.", "id": "SuppressRebootPassThru", "name": "Suppress Reboot Passthru", "regExValidation": null, "required": false, "type": "Boolean", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "False", "defaultValueObject": null, "description": "Changes to user install mode and back to user execute mode for installing/uninstalling applications on Remote Desktop Session Host/Citrix servers.", "id": "TerminalServerMode", "name": "Terminal Server Mode", "regExValidation": null, "required": false, "type": "Boolean", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "False", "defaultValueObject": null, "description": "Disables logging to file for the script.", "id": "DisableLogging", "name": "Disable Logging", "regExValidation": null, "required": false, "type": "Boolean", "value": null, "values": [], "valuesObject": null }, { "defaultValue": null, "defaultValueObject": { "id": "x64", "name": "x64" }, "description": "Specify the PowerShell architecture to use for the script execution.", "id": "Architecture", "name": "Architecture", "regExValidation": null, "required": false, "type": "ComboBox", "value": null, "values": [], "valuesObject": [ { "id": "x64", "name": "x64" }, { "id": "x86", "name": "x86" } ] }, { "defaultValue": [ { "code": 0, "option": { "name": "Success", "id": "Success" } }, { "code": 3010, "option": { "name": "Success", "id": "success" } }, { "code": 60012, "option": { "name": "Retry Execution Later", "id": "retrylater" } } ], "defaultValueObject": null, "description": "Specify return codes and their status. Unlisted return codes will cause failure. PSADT exit codes: https://psappdeploytoolkit.com/docs/reference/exit-codes", "id": "Codehandle", "name": "Return Code Handles", "regExValidation": "", "required": false, "type": "CodeHandles", "value": null, "values": [], "valuesObject": [ { "id": "success", "name": "Success" }, { "id": "retrylater", "name": "Retry Execution Later" } ] } ], "powershell": { "base64Encoded": true, "function": "ZnVuY3Rpb2..." }, "type": "powerbrick", "version": "2026.7.2.1"}