I don’t think it is possible to set parameters by group membership directly but it could be scripted by extracting the group membership using:
cadsmcmd compgroup action=listmem name=groupname
Then for each computer returned by that command, run:
cadsmcmd targetComputer action=ModifyInstallParameter name=computer_name paramName=parameter_name paramValue=parameter_value
Or, for (MUCH) better performance, for each computer, write the following line to a file:
targetComputer action=ModifyInstallParameter name=computer_name paramName=parameter_name paramValue=parameter_value
Then run:
cadsmcmd batch filename
If you only need to do this once, or infrequently, you don’t need to write a script. Just take the output from the first command and massage the data in the output into the targetcomputer commands then run the batch.
Steve McCormick, ITIL
CA Technologies
Principal Services Consultant
Stephen.McCormick@ca.com
<mailto:Stephen.McCormick@ca.com>