If you need to get full patch level details of the WAS installs but need this via wsadmin (i.e because you have an inventory system based on wsadmin and you wan't to keep it standard)
Very simple this one, although typically the information available from official sources is not great
Your jython should look as follows...
wsadmin> import com.ibm.websphere.product.VersionInfo as vInfo
wsadmin> vInfo.main(['-maintenancePackages'],0)
The second argument is important (i.e the zero) as it'll prevent your wsadmin shell from exiting when vInfo.main completes
No comments:
Post a Comment