How to Manually Install and Uninstall Web Parts Using PowerShell

If
you are looking to manually install or uninstall a Web Part, you’re unfortunately unable to simply click the Install
button in the Web Part.  Before you start
to fret, however, don’t worry – there IS a solution for manually installing and uninstalling
Web Parts, and working with Windows
PowerShell, you can easily manually install or uninstall.

To
begin, you will need to extract the Web Part file folder and save it to your
hard drive. In this example, we’ll be using the Time Tracking and Management Web
Part.

Next,
go to Start > All Programs > Accessories > Windows
PowerShell
. Right-click on Run as
administrator
.

In PowerShell, change the directory
name to the misc folder in the Command
Prompt (cd C:UsersspinstallerDesktopSA12A.R.7.SP2010.SLmisc)

Manual
Installation:

Type the following command:
.ManualInstallation.ps1 and enter the information below:

  • Enter the Web
    Application URL
    where you need to deploy the solution. In this example, we
    will be using server name http://foundloan.
  • For the question “Do you want Automatic Feature
    Activation (Yes or No)?” enter Yes (if
    you enter no, the Web Part will not automatically activate the feature).
  • Press Enter
    and wait a few minutes. Once finished, you
    will get the message, Installation Complete
    and review the result!

After installation has been
completed, you can go to SharePoint and start using your newly installed Web
Part.

Manual
Uninstall:

In PowerShell, change the directory
name to the misc folder in the Command
Prompt.

Next, type the following
command: .ManualUnInstallation.ps1 and enter the information below:

  • Press Enter
    to continue.

  • Press Enter
    and wait a few minutes until you get the message, Press Enter to Exit.

    Your solution will now be
    successfully removed.


    All SharePoint Versions

    The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

    SharePoint 2013, 2016, 2019, Online (Office 365)

    On-Premises Only

    These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

    SharePoint 2013, 2016, 2019

    SharePoint

    Product Suites

    Experience greater power and savings by bundling our SharePoint apps and web parts.


    Essentials Suite


    Essentials Plus Suite


    Bamboo Premier Suite


    Project Management Suite


    Knowledge Management Suite


    External User Manager


     

    For more information on our product suites, contact us.

    Featured Services

    SharePoint Health Check

    A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

    SQL Health Check

    Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

    My SharePointXperts

    The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!