Uninstalling Core Services
To uninstall IMS core services, log on to the server with the ServiceAccountUserName (see IMS Core Services) and proceed with the following steps:
Log on to the server as the Domain Service Account user.
Open the Windows PowerShell Integrated Scripting Environment (ISE) as an administrator.
Important! To unblock the execution policy for PowerShell, run the following command before proceeding to the next step:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser
Use the following command to navigate to the path where the installation scripts are saved:
cd .\<script path>
At the command prompt, execute the following command:
.\Deploy-CoreServices.ps1 -CoreJsonConfigFilePath .\<Core Service json file path> -ServiceAccountPwd <service account password> -Uninstall`
Important! This will uninstall the services based on the service name provided in installation configuration file (CoreComponents). For more information, see Core Services JSON Configuration File.