Package Names Are Ordered Differently in the Console and the CLI

4/26/2018 2196 Contributors

Purpose:
You notice that package names in the PDQ Deploy console and the PDQ Deploy Command Line Interface are ordered differently.

Resolution:
When enumerating packages using the GetPackageNames CLI command, you might see something like this:
package-name.png

This is by design. In the PDQ Deploy console, the order is determined by the user or the default sorting method in the tree structure. When packages are listed using the CLI GetPackageNames command, the packages are presented alphabetically regardless of the order present in PDQ Deploy’s console.