Using CSOM in PowerShell for Office 365

In my previous post, we explored using the PowerShell for Office 365. It was good for administrative tasks such as managing the tenant, users and site collection. As of this writing, there are only 33 commands for SharePoint online.

It doesn’t have commands for example to activate features or managing service applications. In this post, we’ll go over using CSOM in PowerShell for Office 365. This will give you access to entire SharePoint API or the object model so you can manage the individual sites, lists, features, service applications etc.

Continue reading “Using CSOM in PowerShell for Office 365”

PowerShell for Office 365

We can use the admin center of Office 365 for managing Office 365 and SharePoint Online. However, if we use the PowerShell for Office 365 to create scripts for regular tasks, it will be much easier and consistent on an ongoing basis. Lets explore how we can leverage PowerShell for Office 365 from a remote machine.
Continue reading “PowerShell for Office 365”

Deploy solution wsp to SharePoint

The Microsoft technet article Automated Farm level Solution Deployment and Retraction, gives a very good example of deploying SharePoint wsp solutions using PowerShell. However, I felt that it would be better to wait for the timer job to complete instead of using sleep command as mentioned in SharePoint 2010: PowerShell to Wait for WSP Solution Deployment Timer Job to Complete

Also, I thought it would be better if we added a configuration xml instead of providing input parameters.
Continue reading “Deploy solution wsp to SharePoint”