<< Click to Display Table of Contents >> BackgroundService |
Manages the PDQ Inventory background service. Without any parameters, outputs the Windows account the background service is running under. Use the start, stop, and restart flags to control the service state, or use -User to update the service account credentials.
PDQInventory BackgroundService [-Start] [-Stop] [-Restart] [-User <username>] [-Password <password>]
Parameter |
Required |
Description |
|---|---|---|
-Start |
No |
Starts the background service if it is not already running. |
-Stop |
No |
Stops the background service if it is running. |
-Restart |
No |
Stops and then starts the background service. |
-User <username> |
No |
Sets the Windows account used to run the background service. Use DOMAIN\username format. When specified, you will be prompted for the password unless -Password is also provided. |
-Password <password> |
No |
Password for the account specified with -User. If omitted when -User is specified, you will be prompted interactively. |
Show the account the background service is running under:
PDQInventory BackgroundService
Stop the background service:
PDQInventory BackgroundService -Stop
Start the background service:
PDQInventory BackgroundService -Start
Restart the background service:
PDQInventory BackgroundService -Restart
Set new service account credentials:
PDQInventory BackgroundService -User DOMAIN\svcaccount -Password MyP@ssword
© 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