Additional Commands for Core Service Installation

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

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

    .\Deploy-CoreServices.ps1 -CoreJsonConfigFilePath .\IMS_Core_Config.json -ServiceAccountPwd TestPassword -AMMPwd Password@123 -JMSPwd silver123 -IgnorePreValidation

    Skipping this check is not recommended.

    Note:  The pre-check validation will determine whether or not all required software is installed on the server. The validation includes verification of the following components: .Net Core 3.1, .Net Framework 4.8, Java Runtime ≤ 8.0, the Java Runtime path configuration in the system environment variable, connectivity to the AMM endpoint, and the JSON configuration file. The check is based on the services listed in the JSON configuration file.

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

    .\Deploy-CoreServices.ps1 -CoreJsonConfigFilePath .\IMS_Core_Config.json -ServiceAccountPwd TestPassword -AMMPwd Password@123 -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 (ServiceAccountUserName). For example:

    .\Deploy-CoreServices.ps1 -CoreJsonConfigFilePath .\IMS_Core_Config.json -ServiceAccountPwd TestPassword -AMMPwd Password@123 -IgnoreServiceAccount

    Running a service with the system account is not recommended.

  • IgnoreConfigurationCopy. Append this parameter to the command to skip copying the configuration file from the installation package. This is useful when no change is required in the configuration file during a service upgrade. For example:

    .\Deploy-CoreServices.ps1 -CoreJsonConfigFilePath .\IMS_Core_Config.json -ServiceAccountPwd TestPassword -AMMPwd Password@123 -IgnoreConfigurationCopy

    This is applicable to IMS core services deployments only (see also IMS Core Services).

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

    .\Deploy-CoreServices.ps1 -CoreJsonConfigFilePath .\IMS_Core_Config.json -ServiceAccountPwd TestPassword -AMMPwd Password@123 -Uninstall

    See also Uninstalling Core Services.