I have a TIBCO bwadmin show application command which gives the output as below.
TIBCO ActiveMatrix BusinessWorks version 6.x.x, hotfix 10, build V145, 2019-03-27
Domain: DOMAIN_NAME
Name Version AppSpace Profile Status Deployment Status (Running/Total)
ApplicationName1.app 1.1 APPSPACE_NAME DEV.substvar Running Deployed (1/1)
ApplicationName2.app 1.2 APPSPACE_NAME DEV.substvar Running Deployed (1/1)
I want to parse this output to get the "Version" value for the application "ApplicationName2.app" (i.e: 1.2) and pass it in another command using Powershell. We may have n number of applications, so I should be able to get the Version value for corresponding application. Can anyone please let me know how we can achieve this?
Thanks in advance!