<< Click to Display Table of Contents >> PDQ Deploy Command Line Reference |
PDQ Deploy includes a command line interface (CLI) that allows you to automate and script common operations. All commands are run through PDQDeploy.exe, which is located in the PDQ Deploy installation directory (typically C:\Program Files\Admin Arsenal\PDQ Deploy).
To use the CLI, open a cmd.exe or PowerShell window as Administrator, then run commands using the syntax:
PDQDeploy <command> [parameters]
To see a list of all available commands, run:
PDQDeploy Help
To see usage details for a specific command, run:
PDQDeploy Help <command>
Command |
License |
Description |
|---|---|---|
Free |
Manages the background service, including starting, stopping, and updating service account credentials. |
|
Free |
Runs a SQLite integrity check and reports whether the database is healthy or corrupt. |
|
Free |
Identifies and removes files in the repository that are no longer referenced by any package. |
|
Enterprise |
Lists, adds, or removes Windows accounts authorized to connect to the background service. |
|
Enterprise |
Creates a new custom variable with the specified name and value. |
|
Free |
Opens the database directly in the sqlite3.exe command line tool. |
|
Enterprise |
Runs a multi-step cleanup process to remove stale data and improve database performance. |
|
Enterprise |
Deletes one or more packages by name or wildcard pattern. |
|
Enterprise |
Deletes deployment history for a computer from one or all schedules. |
|
Enterprise |
Deploys a package to one or more target computers. |
|
Enterprise |
Exports one or more package definitions to XML files for backup or synchronization. |
|
Enterprise |
Returns status information for deployments, with support for querying by ID, package name, or status. |
|
Free |
Lists the names of all packages. |
|
Enterprise |
Lists all schedules with their IDs and names. |
|
Free |
Displays available commands and their license requirements, or usage details for a specific command. |
|
Enterprise |
Imports one or more package definitions from XML files. |
|
Free |
Runs a SQLite VACUUM on the database to reclaim disk space and improve performance. |
|
Free |
Captures a CPU performance profile of the background service for support diagnostics. |
|
Free |
Exports and re-imports the database to recover from corruption. |
|
Free |
Restores the database from a backup file. |
|
Free |
Packages and uploads the database and support files to PDQ support. |
|
Enterprise |
Configures PDQ Deploy to run in Local, Client, or Server mode. |
|
Free |
Updates the Windows service account credentials used by the PDQ Deploy background service. |
|
Free |
Reads or writes internal settings and feature flags. |
|
Enterprise |
Triggers an existing schedule to run immediately. |
|
Free |
Outputs information about the PDQ Deploy installation, such as version and database path. |
|
Free |
Tests a deployment credential by connecting to a target computer. |
|
Enterprise |
Updates the value of an existing custom variable. |
|
Free |
Updates an existing deployment credential stored in PDQ Deploy by name. |
•All commands must be run from a command prompt or PowerShell window opened as Administrator.
•The PDQ Deploy background service must be running for most commands. OptimizeDatabase and RepairDatabase require the service to be stopped and will prompt you to stop it if it is running.
•Parameter names are case-insensitive and can be abbreviated to any unique prefix (e.g., -T instead of -Targets).
•String values containing spaces must be wrapped in double quotes.
NOTE: Commands marked Enterprise require a PDQ Deploy Enterprise license. Running them with a lower license tier will return an error.
© 2026 PDQ.com Corporation. All rights reserved.
PDQ.com is a trademark of PDQ.com Corporation. All other product and company names are the property of their respective owners.
Help Version: 20.0.22.0