Additional commands for adapter services installation

The following PowerShell commands are provided for reference and may be helpful while installing or uninstalling IMS adapter services:

  • IgnorePreValidation. Append this parameter to the command to skip the installation pre-validation check. By default, this checks for the required .NET Core version (installed or not), file path access, AMM port accessibility, Kafka port accessibility, DB port accessibility, and DMS port accessibility. For example:

    .\Deploy-AdapterServices.ps1 -AdapterJsonConfigFilePath .\IMS_Adapter_Config.json -ServiceAccountPwd TestPassword -MessageBrokerPwd xxxx -IgnorePreValidation

    Skipping this check is not recommended.

  • IgnoreAutoStart. Append this parameter to the command to skip the automatic service start after installation. By default, the services start after installation. For example:

    .\Deploy-AdapterServices.ps1 -AdapterJsonConfigFilePath .\IMS_Adapter_Config.json -ServiceAccountPwd xxx -DMSPwd xxx -DBPwd xxx -MessageBrokerPwd xxxx -IgnoreAutoStart

    Disabling the automatic service start is not recommended.

  • IgnoreServiceAccount. Append this parameter to the command to run the service under the system account user instead of the default service account user (Service Account). For example:

    .\Deploy-AdapterServices.ps1 -AdapterJsonConfigFilePath .\IMS_Adapter_Config.json -ServiceAccountPwd xxx -DMSPwd xxx -DBPwd xxx -MessageBrokerPwd xxxx -IgnoreServiceAccount

    Running a service with the System Account is not recommended.

  • Uninstall. Append this parameter to the command to uninstall a service. For example:

    .\Deploy-AdapterServices.ps1 -AdapterJsonConfigFilePath .\IMS_Adapter_Config.json -ServiceAccountPwd xxx -DMSPwd xxx -DBPwd xxx -MessageBrokerPwd xxxx -Uninstall

    The installation log file can be found in the scripts directory named InstallationLog.

    See also Uninstalling adapter services.