This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

Is there an automated way to use the Package and Deployment Tool?

Symptoms

The PowerShell snap-in can be used to automate the deployment of the packages from source environments to target environments without the need for user intervention. This functionality cannot be used to create deployment packages, but only to deploy them. Package creation can only be done through the K2 Package and Deployment interface.

Troubleshooting Steps

- Below is the documentation to 'Deploy K2 Packages Using PowerShell':
http://help.k2.com/onlinehelp/k2blackpearl/userguide/4.7/default.htm#packageanddeploy/powershell_automated_deployment.html

- We also have a feature request submitted in ideas.k2.com to automate K2 Package and Deployment. Please vote for the following idea to increase the likelihood of implementing this feature in a future update of K2:
https://ideas.k2.com/ideas/APIT-I-224