Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Use the wsadmin scripting AdminApp object for scripted administration
List applications using wsadmin.sh
We can list installed applications using wsadmin and scripting.
See the topic on starting the wsadmin scripting client.
Procedure
- Query the configuration and create a list of installed applications, for example:
### Jacl
$AdminApp list### Jython
print AdminApp.list()
Example output:
DefaultApplication SampleApp app1serv2
Query the configuration and create a list of installed applications on a given target scope, for example:
### Jacl
$AdminApp list WebSphere:cell=myCell,node=myNode,server=myServer### Jython
print AdminApp.list("WebSphere:cell=myCell,node=myNode,server=myServer")
Example output:
DefaultApplication PlantsByWebSphere SamplesGallery ivtApp query
Start the wsadmin scripting client using wsadmin.sh
Related
Commands for the AdminApp object using wsadmin.sh