Install-SPOSolution

Add a WSP to the Solution Gallery of a Site Collection.

Install-SPOSolution -Identity <String> [-MajorVersion [<Int32>]] [-MinorVersion [<Int32>]]

Parameters

1

ParameterRequiredTypeDescription
IdentityTrueString

Specify the name of the solution package (WSP) to activate.

MajorVersionFalseInt32

Sets the major version of the WSP. The default value is 1.

MinorVersionFalseInt32

Sets the minor version of the WSP. The default value is 0.

Detailed Description

Add a WSP to the Solution Gallery of a Site Collection.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:

> http://blog.falchionconsulting.com/

> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.

Examples

------------------EXAMPLE------------------

PS C:\> Install-SPOSolution -Identity "customtemplate.wsp"

This example activates a custom Sandbox Solution in the Solution Gallery of the current Site Collection. The WSP will be copied to customtemplate.wsp-v1.0 and this copied version will be activated.