Uninstall a Sitecore Single Developer topology
You can also use SIF to uninstall the SIF configuration files and the Sitecore XM Single Developer or Sitecore XP Single Developer topologies.
Uninstall a SIF configuration file
You can use SIF to uninstall a SIF configuration file on a local server.
To uninstall a SIF configuration file on a local instance:
-
Launch PowerShell as an administrator.
-
Run the
Uninstall-SitecoreConfigurationcmdlet, and specify the path to your SIF configuration file.For example, using the
sitecore-XP0.jsonfile:Alternatively, you can pass in the parameters declared in the SIF configuration files by prefixing their name with a dash “
-" in the command line.For example:
In a PowerShell command line, you can pass additional parameters to control the uninstall process.
For example, running the
Verbosecmdlet increases the amount of information that is logged, and the-Skip <taskname>cmdlet skips one or more tasks.
To correctly uninstall a SIF configuration, you must pass the same parameters that were used during the installation.
The uninstallation is performed by a separate list of tasks within the configuration file. For more information, see the SIF documentation.
Uninstall the Sitecore XP Single Developer topology
To uninstall the Sitecore XP Single Developer topology:
-
In the
XP0-SingleDeveloper.ps1script, change theInstall-SitecoreConfigurationcmdlet toUninstall-SitecoreConfiguration.For example, change
to
The example scripts contain this line already. You only need to uncomment and comment out the appropriate lines.
-
Run the script and the topology is removed.