Package Names Are Ordered Differently in the Console and the CLI

4/26/2018 2427 Contributors

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

When enumerating packages using the GetPackageNames CLI command, you might see something like this:

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.