You can automate the tuning of BizTalk Server performance settings either by importing or exporting the BizTalk settings or by manipulating the settings using WMI.
After the BizTalk Server environment is set up for optimum performance, you can export or import the BizTalk Server settings to an XML file. You can import/export the BizTalk Server settings either using the Settings Dashboard or the BTSTask command-line utility. BTSTask.exe with BizTalk Server allows BizTalk administrators to use BTSTask commands when creating new scripts.
For information about importing/exporting BizTalk Server settings from one environment to another using BizTalk Settings Dashboard, see Import or export BizTalk Settings Using Settings Dashboard.