I'm a programmer looking to help our PDQ admins with some PDQDeploy scripted installs in PowerShell. I don't have access to our PDQ myself right now, and the docs don't always seem to have full info on the command line possibilities for PDQDeploy.exe and PDQInventory.exe. They do say that "PDQDeploy Deploy -Targets <computer names>..." can only take a raw list of computer names, so there is no way to specify a Target List or Collection.
For collections, it looks like you could get this list of computer names from the collection via PDQInventory GetCollectionComputers and do this:
$targets = PDQInventory GetCollectionComputers -Target "OurCollection"
PDQDeploy Deploy -Targets $targets -Package "OurPackage"
But there doesn't seem to be a similar way of getting the computers from a Target List? PDQDeploy.exe has GetPackageNames and GetSchedules options, but nothing that would seem to get the contents of a Target List, like:
# there seems to be no way to do something like this?
$targets = PDQDeploy GetTargetListComputers -TargetList "OurTargetList"
Am I missing something, or is this just not possible?
Please sign in to leave a comment.