Wednesday, 12 January 2022

How to uninstall Horizon from existing Sitecore instance ?

There may be a scenario, where we would need to uninstall the horizon instance. For that, we would require the same tool can be downloaded from https://dev.sitecore.net/Downloads/Sitecore_Horizon.aspx


We have chosen for our instance as 


please download and unzip, if not have. And now open InstallHorizon.ps1 script file.

Please add the below variables in the same file 



[string]$InstanceName = $horizonInstanceName,

[string]$PhysicalPath = $horizonPhysicalPath,



now please comment InstallHorizonHost method calling and add below as per screenshot




Import-Module "$PSScriptRoot\InstallerModules.psm1" -Force

Uninstall-HorizonHost `

  -InstanceName $InstanceName `

  -PhysicalPath $PhysicalPath



Once done, run the PowerShell script. Horizon instance will be uninstalled.



No comments:

Post a Comment