How to get items from a Sharepoint Online list using PowerShell?
I'm writing a PowerShell script that connects to a SharePoint website and I'm trying to get the items on a list. Here's my code: $Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $SitePassword = ConvertTo-SecureString $SitePwd -AsPlainText -Force $Creds = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($SiteUser,$SitePassword) $Context.Credentials = $Creds $web = $Context.Web $Context.Load($web) $Context.ExecuteQuery() $List = $Context.Web.Lists.GetByTitle('Déposes') $Context.Load($List) $Context.ExecuteQuery() But now I'm stuck with this $List Object