Description
This command adds or removes a client to/from a client group. Upon successful completion, qmodify clientgroup displays the message "qmodify clientgroup add/remove operation successful" on the console.
In case of an error, an error code and description are displayed as: "clientgroup: Error errorcode: errordescription"
Usage
qmodify clientgroup -o add|delete -c client -cg clientgroup [-tf tokenfile] [-tk token] [-h]Options
|
-o |
Operation to be performed on the client group. Valid values are:
|
|
-c |
Client computer name |
|
-cg |
Client group name |
|
-af |
Input file containing arguments |
|
-tf |
Reads token from a file |
|
-tk |
Token string |
|
-h |
Displays help |
Argument File
For information on creating an argument file, see Command Line - FAQ - How do I use argument files in commands.
|
client |
[string] Client computer name |
|
clientgroup |
[string] Client group name |
|
operation |
[string] Operation to be performed on the client group. Valid values are:
|
|
description |
d[list<string>|multiline] Description provided by the user |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
Add a client client1 to clientgroup clientgroup1.
E:\commandline>qmodify clientgroup -c client1 -cg clientgroup1 -o add