/n software BizTalk Adapters V4 - Online Help
Available for:
/n software BizTalk Adapters V4
Questions / Feedback?

PowerShell Transmitter

Setting the PowerShell Adapter Configuration Properties for a Dynamic Send Port

A dynamic send port does not provide any transport configuration options in BizTalk Explorer because it is expected that these properties will be provided with the context properties associated with the message. These properties can be set in a custom pipeline or in an orchestration. To set message configuration properties in an orchestration you can do the following:

  • Add a Construct Message shape to your orchestration.
  • Configure the Construct Message shape to construct a new message. (for example Message_2)
  • Add a Message Assignment shape to the Construct Message shape.
  • Add code to the Message Assignment shape to initialize the message that you constructed and to set the appropriate configuration properties for the message.

Configuring the PowerShell Send Port with the BizTalk Server Administration Console

To configure the send port by using the BizTalk Server Administration console, use the following procedure:

To configure variables for a PowerShell send port:

  1. In the BizTalk Server Administration console, create a new send port or double-click an existing send port to modify it. For more information, see How to Create a Send Port. Configure all of the send port options and specify nsoftware.PowerShell v4 for the Type option in the Transport section of the General tab.
  2. On the General tab, in the Transport section, click the Configure button next to Type.
  3. In the nsoftware.PowerShell v4 Transport Properties dialog box, use the following properties to:

    Firewall A set of properties related to firewall access.
    Type: Firewall    Default Value: null
    Host The host where the command should be executed.
    Type: xs:string    Default Value: ""
    MaxThreads The maximum number of threads that the adapter may consume.
    Type: xs:int    Default Value: 20
    MaxTransmissionBatchSize The maximum number of messages that can be sent in a single batch.
    Type: xs:int    Default Value: 1
    Other Defines a set of configuration settings to be used by the adapter.
    Type: xs:string    Default Value: ""
    Password The password to use when executing commands remotely.
    Type: baf:Password    Default Value: ""
    Port The TCP port number to use for remote connections.
    Type: xs:int    Default Value: 22
    PortName A unique name assigned to this send port.
    Type: xs:string    Default Value: ""
    Protocol The protocol to use for executing remote commands.
    Type: xs:int    Default Value: 0
    RuntimeLicense Specifies the adapter runtime license key.
    Type: xs:string    Default Value: ""
    Script The PowerShell script to execute.
    Type: xs:string    Default Value: ""
    SSHAcceptServerHostKey Instructs the adapter to accept the server host key that matches the supplied key.
    Type: Certificate    Default Value: null
    SSHAuthMode The type of authentication used by the adapter.
    Type: xs:int    Default Value: 2
    SSHCert The certificate to use for client authentication during the SSH handshake.
    Type: Certificate    Default Value: null
    NOTE: The digital id must have a private key associated with it.
    SSHCompressionAlgorithms A comma-separated list of compression algorithms allowed for this connection.
    Type: xs:string    Default Value: "none"
    Timeout A timeout for the adapter.
    Type: xs:int    Default Value: 60
    TransmitBatchMode How the transmitter processes batches.
    Type: xs:int    Default Value: 0
    TransportLog Tells the adapter where and how to report information about its operations.
    Type: Log    Default Value: null
    URI The Uniform Resource Identifier (URI) of the send port or receive location.
    Type: xs:string    Default Value: ""
    User The username to use when executing commands remotely.
    Type: xs:string    Default Value: ""
    Variables Variables to add to the PowerShell Runspace before executing the command.
    Type: xs:string    Default Value: ""

  4. Click OK and OK again to save settings.

Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0