nerdexam
Microsoft

70-332 · Question #119

You are the administrator for your company's SharePoint environment. Company policy requires that you use Windows PowerShell to deploy farm solutions. You need to deploy a SharePoint solution to the…

The correct answer is B. Install-SPSolution-Identity solution.wsp -Confirm $true. Explanation: When you deploy a solution package to a single Web application by using Windows PowerShell Verify that you meet the following minimum requirements. On the Start menu, click All Programs. Click Microsoft SharePoint 2010 Products. Click SharePoint 2010 Management…

Configure and manage SharePoint environment

Question

You are the administrator for your company's SharePoint environment. Company policy requires that you use Windows PowerShell to deploy farm solutions. You need to deploy a SharePoint solution to the farm. The solution is named solution.wsp and is located at c:\solution.wsp. Which Windows PowerShell command should you run?

Options

  • AEnable-SPFeature-Identitysolution
  • BInstall-SPSolution-Identity solution.wsp -Confirm $true
  • CUpdate-SPSolution-Identity solution.wsp -LiteralPath c:\solution.wsp -Confirm $true
  • DAdd-SPSolution solution.wsp -Confirm $true

How the community answered

(29 responses)
  • B
    90% (26)
  • C
    3% (1)
  • D
    7% (2)

Explanation

Explanation: When you deploy a solution package to a single Web application by using Windows PowerShell Verify that you meet the following minimum requirements. On the Start menu, click All Programs. Click Microsoft SharePoint 2010 Products. Click SharePoint 2010 Management Shell. At the Windows PowerShell command prompt, type the following command: Install-SPSolution -Identity <SolutionName> -WebApplication <URLName> Where:

Topics

#farm solution deployment#PowerShell#Add-SPSolution#Install-SPSolution

Community Discussion

No community discussion yet for this question.

Full 70-332 Practice