How to extend SharePoint Online PowerShell automation using Client Side Object Model for SharePoint 2013. This approach also works for On-prem SharePoint 2013.
6. “FTC to CAM – Stop creating content types and site
columns declaratively”
http://blogs.msdn.com/b/vesku/archive/2013/11/06/ftc-to-cam-stop-creating-content-
types-and-site-columns-declaratively.aspx
My Journey to PowerShell + CSOM
13. • Create Context
ClientContext ctx = new ClientContext("http://intranet.contoso.com");
• Call Load and ExecuteQuery Before Accessing Value Properties
Web web = ctx.Web;
ctx.Load(web);
ctx.ExecuteQuery();
Console.WriteLine(web.Title);
How CSOM Works
14.
15. • Local Machine
• SharePoint 2013 Environment
Steps to start developing
16. • Located at C:Program FilesCommon
Filesmicrosoft sharedWeb Server
Extensions15ISAPI
• All DLLs that starts with
Microsoft.SharePoint.Client
Local Machine