Add-SPOSolution

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

Add-SPOSolution -LiteralPath <String> [-Overwrite [<SwitchParameter>]]

Parameters

1

ParameterRequiredTypeDescription
LiteralPathTrueString

Specify the path to the solution package (WSP) to add to the Solution Gallery.

OverwriteFalseSwitchParameter

Overwrite an existing file if present.

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:\> Add-SPOSolution -LiteralPath "c:\customtemplate.wsp"

This example uploads a custom Sandbox Solution to the Solution Gallery of the current Site Collection.