Posts

Showing posts from August, 2016

Sharepoint Online and Powershell

Lately I've been solving a lot of problems in Sharepoint using Powershell. Previously I had reached reasonable solutions with SPD workflows. Now I'm revisiting my design and stepping up the performance and efficiency. Here's a quick run down, and some samples of my findings. Setup First you'll need to install SharePoint 2013 Client Components redistributable package from http://www.microsoft.com/en-us/download/details.aspx?id=35585 .  This will give you all of the DLL files in  c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\ that you'll need.  You can also grab these DLLs directly from a Sharepoint 2013 server. Start Scripting First you'll need to load your DLLs with these lines: Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Micro