The ‘new-item’ cmdlet of PowerShell allows you to create a new BizTalk application from the PowerShell prompt. In this short article I’ll show a couple of different ways to do this.
The screenshot belows shows the creation of an application called ‘TestApplication1′. The description will be ‘New Application’ and this will be the default application.
To quickly create an application only the name has to be provided. Screenshot below shows the creation of an application called ‘TestApplication2′.
To make things a little more exciting we now create an application ‘TestApplication3′. Which has references to the two earlier created applications. We do this by first fetching the two references applications in a variable and use that variable in the ‘New-Item’ statement on the next line.
Now verify that the references have been added.
Finally create an application with a reference to ‘TestApplication2′ and ‘TestApplication3′. This time we just but the name of the referenced applications in the ‘New-Item’ statement directly.
Again verify that the references have been added.

RSS feed