Creating BizTalk 2006 Software Adapters

I am writing a script configuration for a BizTalk server, I need to create several adapters.

In the BizTalk Server Administration application, this is done by going to Biztalk Server Group / Platform Settings / Adapters and selecting "New / Adapter" from the right-click menu.

I would like to somehow automate this process using a Powershell script or SQL script. I tried using the adm_Adapter_Create stored procedure in Biztalk DB, but it does not work completely, since the send / receive handlers are not configured.

Is there a way to automate the creation of this adapter?

+3
source share
2 answers
+4

Powershell script , :

$adapterClass = [WMIClass] "root\MicrosoftBizTalkServer:MSBTS_AdapterSetting"

$adapter = $adapterclass.CreateInstance()
$adapter.Name = $adapterXml.name
$adapter.Comment = $adapterXml.comment
$adapter.Constraints = $adapterXml.constraints
$adapter.MgmtCLSID = $adapterXml.MgmtCLSID
$adapter.put() | Out-Null
+2

Source: https://habr.com/ru/post/1759111/


All Articles