Thanks for your interest in using our PowerShell Provider for BizTalk Server.
Unfortunately, there are not support in the current version for this scenario.
Under the 'All Artifacts' folder, you can list all available BizTalk policies, but only if they are already associated with a particular application.
I'm adding a specific function for your scenario, and you will be able to export any policies you want, provided you already know its name and version number, with the following code :
Unfortunately, there are not support in the current version for this scenario.
Under the 'All Artifacts' folder, you can list all available BizTalk policies, but only if they are already associated with a particular application.
I'm adding a specific function for your scenario, and you will be able to export any policies you want, provided you already know its name and version number, with the following code :
PS> $catalog = (Get-Item \).Catalog
PS> $catalog.ExportPolicy("Policy1:1.0", "C:\Temp\export.xml", $true)
PS>
I hope this will help you for your scenario.