UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Cadet 1st Class
Cadet 1st Class
93 views

script to create content pack of a project

Is there anyone of you guys already did created a content pack of a project using powershell script, or have an idea where can i get a powershell script to create a content pack of a project? Thanks.

3 Replies
Vice Admiral
Vice Admiral

You can use OOSHA as far as I remember
https://docs.microfocus.com/itom/Operations_Orchestration:10.70/Use/OOSHA_Packaging_new
you would need to construct scriptfile/commandline parameters in your powershell
0 Likes
Cadet 1st Class
Cadet 1st Class

Thanks. Another thing, is there any approach in the OOSHA that the content pack can be automatically created in .jar file format?
0 Likes
Vice Admiral
Vice Admiral

Below command is an example e.g.
oosha.bat "createCP -projectFolder C:\\pathtoproject\\nameofproject --destinationFolder c:\\temp --version 1.0.0 --publisher test --description test --includeSystemAccountPasswords"

creates nameofproject.jar in c:\temp

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.