Now Microsoft have announced Visual Studio solution which allows you to control SharePoint Online sandbox solutions using Powershell.
Powershell is fair method to install the solutions in sharepoint.
The wsp solutions builds a DLL file which can be imported as a PowerShell module. Once you added importmodule dll you can Add, Activate, Deactivate and Delete solutions from a SharePoint Online site collection using Powershell.
Steps:
Powershell is fair method to install the solutions in sharepoint.
The wsp solutions builds a DLL file which can be imported as a PowerShell module. Once you added importmodule dll you can Add, Activate, Deactivate and Delete solutions from a SharePoint Online site collection using Powershell.
Steps:
- Open your PowerShell command in Office 365.
- Run the below Codes.
Import-Module “c:Contoso.Solution.Cmdlets.dll”,
Add/Upload Wsp solution
Thanksfor reading my blogs.!- upload-solution -username “[email protected]” -password “password-1” -siteurl “https://gowtham.sharepoint.com” -solutionfilepath “C:\Solution.wsp” -environment GTEST-2013
- activate-solution -username “[email protected]” -password “password-1” -siteurl “https://gowtham.sharepoint.com” -solutionid “86f8D9A8-BEFA-3DF8-8D25-03B23788763” -environment GTEST-2013
- deactivate-solution -username “[email protected]” -password “password-1” -siteurl “https://gowtham.sharepoint.com” -solutionid “86f8D9A8-BEFA-3DF8-8D25-03B23788763” -environment GTEST-2013
- deactivate-solution -username “[email protected]” -password “password-1” -siteurl “https://gowtham.sharepoint.com” -solutionid “86f8D9A8-BEFA-3DF8-8D25-03B23788763” -environment GTEST-2013
Santhakumar MunuswamyPosted May 9, 2016, 11:29 PM
Thank you for nice share