Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to do this but cant find how

Update-SPSolution –Identity Teams.HomeWebTemplate.wsp –LiteralPath "D:\xx\bin\Debug\xxx.wsp" –GacDeployment

Get-SPFeature –Identity "xxx Links Feature" –Site http://xxxx/

it says Cannot find an Enabled Feature object with Path or Id. How can I know the id or the good name?:

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You have to use following command to enable the feature:

Enable-SPFeature FeatureFolderName -Url http://server/site/subsite

For upgrading FEATURE using powershell, see this excellent article: http://www.sharepointnutsandbolts.com/2010/08/feature-upgrade-part-5-using-powershell.html

share|improve this answer
    
what about if I want to upgrade a feature that I just upgraded its solution? –  L.V. Sharepoint Architect Feb 24 '12 at 14:41
1  
Check my updated answer... –  Ashish Patel Feb 24 '12 at 14:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.