Uninstalling the SAS Web Parts

The Uninstall-SASWebParts function performs these tasks:
  • disables the SAS Web Parts and then uninstalls them
  • retracts the SAS Web Parts solution and then uninstalls it
  • finds and deletes the profile list for the site
  • deletes the SAS Web Parts from the gallery
To uninstall the SAS Web Parts:
  1. Load the SASWebPartsModule. For more information, see Loading the SASWebParts Module.
  2. At the prompt, run the Uninstall-SASWebParts function. For more information, see Uninstall-SASWebParts Function.
  3. If you deployed the SAS Web Parts to other site collections, manually delete the profile list and SAS Web Parts from those site collections.
Note: You can also uninstall the SAS Web Parts by running Install-SASWebParts.ps1 and setting the $Uninstall option to true.