Short and simple PowerShell Script to uninstall Sitecore9 from a local development environment setup
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Uninstall Sitecore 9

Sitecore Install Framework (SIF) to uninstall a Sitecore9 instance from a local development environment setup. This can also be run if your installation fails to complete and your environment requires cleaning up.

This module should be place in a folder in the modules directory of your PowerShell installation, typically C:\Program Files\WindowsPowerShell\Modules

n.b this will not remove the solr services


  • Please ensure that SIF is installed
  • Modify the parameters in Install-Config.json to suit your needs
  • Open a PS console at the location of your Install-Config.json
  • The cmdlet to invoke is Install-SitecoreConfiguration .\Install-Config.json


  • Prefix - The Prefix used to install the site with SIF, e.g. s9
  • SitecoreSiteName - The name of your website e.g. s9.local
  • SolrService - The name of your solr service
  • PathToSolr - The path to your instance of solr, e.g. C:\Solr\solr-6.6.0\apache-solr
  • SqlServer - The name of your SQL server instance
  • SqlAccount - Your SQL account, typically the one used to create the databases
  • SqlPassword - Your SQL account's password