Skip to main content
Version: 4.0.x

Deployment Script

The Invoke-AppDeployToolkit.ps1 script is where you will spend most of your time when using PSAppDeployToolkit. This script is the main entry point of the deployment, responsible for executing the deployment phases.

Deployment Types

The script is broken down into three main deployment types:

  • Install
  • Uninstall
  • Repair

Deployment Phases

Use Pre-InstallType, InstallType, and Post-InstallType phases to organize tasks for installation, uninstallation, or repair.

Script

The script is broken down into the following sections:

Install TypePhaseDeployment Tasks
Install-ADTDeploymentPre-InstallPrompt to close processes, allow defer, uninstall / clean-up previous versions
InstallInstall application
Post-InstallDrop additional files, registry tweaks, cleanup, prompt for restart
Uninstall-ADTDeploymentPre-UninstallDisplay end user messaging, close processes
UninstallUninstall application
Post-UninstallPrompt for restart
Repair-ADTDeploymentPre-RepairDisplay end user messaging, close processes, uninstall / clean up previous versions
RepairRepair application
Post-RepairDrop additional files, registry tweaks, reset settings, prompt for restart

Look for us at these events...

MMS: Music City Edition 2025
October 12th to 15th • Nashville, Tennessee, USA
Up Next
AppManage2025AppManage2025
October 10th • Utrecht, The Netherlands
MAEDS Fall Conference 2025MAEDS Fall Conference 2025
October 29th to 31st • Michigan, USA