Create K2 Deployment Package from code, powershell, other scripts or MSBuild

  • 7 September 2016
  • 2 replies

Badge +1


I am looking for a way to be able to package and deploy K2 Workflows as part of a TFS 2015 vNext build process.


I know about the possibility to use MSbuild to deploy the Deployment Package to the given staging server. But I would also like to be able to create the deployment package. How do I do this?


We have different Environment configuration in each of the staging servers, and the manual process slows us down.

2 replies

Badge +3

I know this post was made in 2016, but I've found a blogpost detailing how to do package creation and deployment via powershell, as well as setting up a CICD process:


The powershell library referenced in the blogpost is here:


For anyone else asking the same question

I tried this, i am not successful creating a new package on K2 Blackpearl 4.7. Any one is able to create a new package from the powershell or command line?