How to Install any SharePoint Feature by PowerShell

//How to Install any SharePoint Feature by PowerShell
How to Install any SharePoint Feature by PowerShell2018-10-16T12:46:17+00:00

Front Page Forums SharePoint How to Install any SharePoint Feature by PowerShell

Viewing 1 post (of 1 total)
  • Author
    Posts
  • ScientistZ
    Keymaster
    Post count: 44

    How to install any SharePoint Feature by PowerShell

    Some times, when you deploy your WSP the feature get uninstall and does not get installed back in, and it does not show in the central admin.

    To solve this Problem do the following:

            1.Make sure your feature’s file are in below folder along with Feature.xml

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\YourFeatureName\Feature.xml

         2. Install the feature, Run below command

    Install-SPFeature ‘C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\YourFeatureName\Feature.xml’

       3. Activate the feature ( if it is farm level feature, other wise use central admin to activate the features )

    Enable-SPFeature –Identity YourFeatureName –url YourSiteCollectionURL

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Skip to toolbar