How should you complete the Windows PowerShell cmdlet?

DRAG DROP

You have a custom solution named SalesSolution deployed to the URL
http://site.contoso.com/sites/sales.
You need to deploy a new version of the solution without retracting the previous version.
How should you complete the Windows PowerShell cmdlet? (To answer, drag the appropriate terms
to the correct location or locations in the answer area. Each term may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

DRAG DROP

You have a custom solution named SalesSolution deployed to the URL
http://site.contoso.com/sites/sales.
You need to deploy a new version of the solution without retracting the previous version.
How should you complete the Windows PowerShell cmdlet? (To answer, drag the appropriate terms
to the correct location or locations in the answer area. Each term may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:

Explanation:
Note:
*(box 1) The Update-SPSolutioncmdlet upgrades a deployed SharePoint solution in the farm. Use
this cmdlet only if a new solution contains the same set of files and features as the deployed
solution.
Syntax:
Update-SPSolution [-Identity] <SPSolutionPipeBind> -LiteralPath<String> [-
AssignmentCollection<SPAssignmentCollection>] [-CASPolicies<SwitchParameter>] [-Confirm
[<SwitchParameter>]] [-Force <SwitchParameter>] [-FullTrustBinDeployment<SwitchParameter>] [-
GACDeployment<SwitchParameter>] [-Local <SwitchParameter>] [-Time <String>] [-WhatIf
[<SwitchParameter>]]
*(box 2) Identity Required
Specifies the SharePoint solution to deploy.
* (box 3)
LiteralPathRequired
Specifies the path to the solution package.
The type must be a valid path in either of the following forms:
– C:\folder_name
– \\server_name\folder_name



Leave a Reply 1

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