Using CSOM and PowerShell against an Office 365 / SharePoint Online site
Here you can see how to consume, via CSOM, a SharePoint site hosted on SharePoint Online/Office 365 using PowerShell. First of all you need to load the CSOM libraries in the PowerShell context. 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\Microsoft.SharePoint.Client.Runtime.dll” Then you need to reference the […]
Read more