Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Removing the Content Source


Using SharePoint Management Shell

  1. Open a new PowerShell window as an Administrator.
  2. Run the RemoveContentSource.ps1 script 

    Code Block
    languagetext
    themeFadeToGrey
    ./RemoveContentSource.ps1 -ContentSource "MyContentSource" -Context "http://my-sp2013-central-admin:port" -IntermediateRepository "C:\IntermediateRepository -SearchAppName "My Search Service Application"
Note

The account that will run this script has to be a Search Service Application administrator.

 

Manual uninstall

  1. Remove the Content Source: 

    Note

    If the content source is currently crawling, the delete option will be disabled. Stop the crawl process or wait for it to finish to be able to delete it.

    1. Go to Central Administration and click on Manage Service Applications.
    2. Look for the Search Service Application and click on it.
    3. Go to Content Sources.
    4. Look for the content source you want to delete, right click it and select "Delete".
  2. Remove the BDC Model:
    1. Go to Central Administration and click on Manage Service Applications.

    2. Look for the Business Data Connectivity Service Application and click on it.

    3. On the ribbon, go to the View section and select "BDC Models".

    4. Right click on the BDC model you want to delete ({contentSourceName}-Model), right click it and select "Delete".

  3. Remove the Repository folder for the content source:
    1. Go to the Intermediate Repository

    2. Remove the folder with the same name as the content source.

 

Note

A new Content Source and External Content Type with a name used previously will only be created if the folder has been removed from the Shared Repository directory.

 

 

Removing SharePoint 2013 Components


AspireBDCService

From SharePoint Management Shell run the powershell script RemoveAspireBDCService.ps1

Code Block
languagetext
themeFadeToGrey
 .\RemoveAspireBDCService.ps1 -configurationFilePath ..\config\configurationParameters.xml

This will do the following:

  • Remove the AspireBDCService site on IIS.
  • Remove the AspireBDCService application pool on IIS.
  • Remove the AspireBDCService folder under C:\inetpub\wwwroot

 

Notification Service

From SharePoint Management Shell run the powershell script RemoveNotificationService.ps1

Code Block
languagetext
themeFadeToGrey
.\RemoveNotificationService.ps1 -configurationFilePath ..\config\configurationParameters.xml

 

This will do the following:

  • Retract aspirenotificationservice.wsp solution.
  • Remove aspirenotificationservice.wsp solution.

 

Intermediate Repository

From SharePoint Management Shell run the powershell script RemoveIntermediateRepository.ps1

Code Block
languagetext
themeFadeToGrey
.\RemoveIntermediateRepository.ps1 -configurationFilePath ..\config\configurationParameters.xml

 

Error Crawl Logs Service

From SharePoint Management Shell run the powershell script RemoveErrorCrawlLogsService.ps1

Code Block
languagetext
themeFadeToGrey
.\RemoveErrorCrawlLogsService.ps1 -configurationFilePath ..\config\configurationParameters.xml

This will do the following:

  • Retract errorCrawlLogsService.wsp solution.
  • Remove errorCrawlLogsService.wsp solution.

 

Aspire Security Trimmer

From SharePoint Management Shell run the UninstallAspireSecurityTrimmer.ps1 script

Code Block
languagetext
themeFadeToGrey
.\UninstallAspireSecurityTrimmer.ps1 -configurationFilePath ..\config\configurationParameters.xml