Install-SPOSolution

Synopsis

Installs (Activates) a sandboxed solution on the given site collection

Syntax

Install-SPOSolution -Site <Site> -Solution <String> [<CommonParameters>]

Description

Parameters

-Site <Site>

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Solution <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Activate a solution on a site collection

PS C:\> Install-SPOSolution -Site $ctx.Site -Solution MySandboxedSolution.v1.3.wsp

Related links

Last edited Aug 5, 2014 at 12:06 AM by provokesolutions, version 9

Comments

psilva Feb 24, 2015 at 4:59 PM 
I have a custom .ps1 with the following sequence:
Remove-SPOSolution
Uninstall-SPOSolution
Add-SPOSolution
Install-SPOSolution

But the last one (Install-SPOSolution) always fails with the following error: The remote server returned an error: (403) Forbidden.

Anyone with the same issue?