Which cmdlet should you run first?

You have a SharePoint Server 2010 server farm. The farm contains a custom solution package (.wsp).
You upgrade the farm to SharePoint Server 2013.
You need to ensure that the solution package (.wsp) can be used in the farm.
Which cmdlet should you run first?

You have a SharePoint Server 2010 server farm. The farm contains a custom solution package (.wsp).
You upgrade the farm to SharePoint Server 2013.
You need to ensure that the solution package (.wsp) can be used in the farm.
Which cmdlet should you run first?

A.
Add-SPSolution

B.
Update-SPSolution

C.
Enable-SPFeature

D.
Install-SPSolution

Explanation:
Update-SPSolution
Upgrades a deployed SharePoint solution.
Incorrect:
Not C: The Enable-SPFeature cmdlet enables an installed feature at the given scope. If the feature is
a farm feature, no URL is needed. Otherwise, provide the URL where the feature is to be enabled
and it will be enabled at the proper scope based on the Feature definition



Leave a Reply 3

Your email address will not be published. Required fields are marked *


BIll Nye

BIll Nye

🙂

SPguru

SPguru

Seems wrong. 2010-2013 upgrade goes via DB detach-attach method. Custom solutions will have to be moved manually, and the firs cmdlet to run is Add-SPSolution. The answer is A.

Update-SPSolution is used to updated already existing in the farm solutions.

Me

Me

I also vote for A.