Uninstalling Content Delivery software components running as a standalone microservice

Run a PowerShell script to uninstall a Content Delivery software component running as a standalone microservice.

Procedure

  1. From the machine on which you are running the microservice, open a command prompt.
  2. Access the SDL Web installation media and navigate to the folder Content Delivery\roles\ROLENAME\standalone\bin\, where ROLENAME is the name of the Server Role whose standalone microservice you want to uninstall:
    Server RoleValue of ROLENAME
    Cache Channel Servicecaching
    Contextual Image Deliverycid
    Content Servicecontent
    Context Enginecontext
    Content Deployerdeployer
    Discovery Servicediscovery
    Monitoring Agentmonitoring\agent
    Preview Web servicepreview\service
    Session-enabled Content Servicesession
    UGC Community Serviceugc\service-community
    UGC Moderation Serviceugc\service-moderation
  3. On a Windows machine, open a PowerShell command prompt and run the following command:
    ./uninstallService.ps1
  4. Alternatively, on a Unix machine, run the command shell script stop.sh.