Hello
@Sam Mtd,
There are many ways to go about doing what you want to accomplish, but it depends on your use case. You could get some information from UVC by hitting CTRL-A on your list of uprocs then CTRL-C and pasting the results into Excel. But this would only give you a listing of your uprocs with some very peripheral information (Name, Label, Version, Domain, Application).
The methods mentioned by
@Patrick Dhaene would also work and give much more detail. It would require you running this command on each individual node, or creating a uproc that could be deployed on each node to run locally.
My preferred method would be to use the very powerful UVMS command line to export information into XML files (which can then be read by Excel, or other tools). This would give you the most information, including the contents of any CL_INT scripts, among other data. This method is also repeatable and automatable, so it could be done automatically on a regular interval. You could also duplicate some functionality seen in UVC's deployment hub, where you can automatically "expand" objects (using the -dep modifier) in order to also export dependent objects (for example, exporting expanded uprocs would also export the associated Domain and Application objects). Or, you could export expanded Tasks, which would also export all associated Sessions, Uprocs, MUs, rules, etc. If your end goal is to export only objects that are currently used to run jobs, this might be your best bet (keeping in mind that any uproc and/or session objects that are not used by a task would not be exported).
To do this, you need to run two commands from UVMS CLI:
- uniadd TOPKG
- This will create a new package stored in UVMS that will contain all your exported objects
- uniexp PKG
- This will export the package file to XML format, when using the -xmlfile modifier
Example:
First:
uniadd TOPKG -login admin -pwd Password! -pkg example -company TSTTST -node TESTNODE -area X -upr "*"
This command will export all Uprocs from node 'TESTNODE' in company 'TSTTST' to a package named 'example'.
Second:
uniexp PKG -login admin -pwd Password! -xmlfile upr.xml -pkgtype OBJECTS -pkg example
This command will export the package created in the first step, 'example', to an xml file named 'upr.xml'
You can take this further by scripting it. You can pair the above commands with the 'unilst node' command to list all your nodes, and then run the add and export commands on each node listed. All done from one central location.
I would recommend you check out the documentation linked above to see what works best for your situation (I didn't even get to the -full modifier that could export pretty much all objects on a given node).
I hope that helps!
Regards,
Domenico Cotugno
Apta Solutions