CADSMCMD can do a lot of things. I use it for a lot of batch and scripted
functions. It has some limitations though. As Rich mentioned it can't get
inventory, but it CAN get the IP Address and MAC address along with some
other info, using 'TargetComputer ShowAttr'. It also cannot create or read
queries. Basically the program was created for Software Delivery and has
not been completely updated to support Asset Management or Remote Control
functions. You can therefore get installed SD packages using
'TargetComputer ListInst', but you can't get software inventory.
The full syntax of the CADSMCMD commands is in docops at
https://docops.ca.com/ca-client-automation/14-0/en/reference/cli-command-reference,
or for 12.9 there is a PDF 'ITCM_CLI_Ref_ENU' on the installation media.
What you are looking to be able to do should be possible using CADSMCMD. I
know you used the word 'query' but I'm assuming you were not referring to
an ITCM query but rather using the cadsmcmd tool to query the system. You
can 'query' the members of a group, get the list of computers then (in
batch mode) query the installed packages for each of them using
'targetcomputer listinst' then for each computer with the package you can
add them to the target group using the compgroup commands.
Steve McCormick
smccormick@aspiretp.com
On Fri, Sep 7, 2018 at 9:57 AM AndreasMeyer <