Specify configuration objects using wsadmin



Search Tips   |   Advanced Search


Specify configuration objects with scripting and wsadmin.

To manage an existing configuration object, identify the configuration object and obtain a configuration ID of the object to use for subsequent manipulation.

Obtain the configuration ID in one of the following ways:

If more than one configuration ID is returned from the getid or the list command, the IDs are returned in a list syntax. One way to retrieve a single element from the list is to use the lindex command.

The following example retrieves the first configuration ID from the server object list:



We can now use the configuration ID in any subsequent AdminConfig commands that require a configuration ID as a parameter.


Related tasks

Use the AdminConfig object for scripted administration



Commands for the AdminConfig object