This article describes a function of a custom SharePoint Online module available for download and installation at GitHub.


Retrieves list items.


ListTitle  Mandatory  Name of the list 
IncludeAllProperties  Optional Boolean. Defines whether to load all item properties or only ID and title. By default set to $false.
Recursive  Optional  Switch 


----- EXAMPLE 1 ------
Get-SPOListItems -ListTitle MyListName

----- EXAMPLE 2 ------
Retrieve all items and their properties:
Get-SPOListItems -ListTitle MyList6 -IncludeAllProperties $true -Recursive

----- EXAMPLE 3 ------
Retrieve a single item and its properties:
Get-SPOListItems -ListTitle MyList6 -IncludeAllProperties $true -Recursive  | where {$_.ID -eq 1}

----- EXAMPLE 4 ------
Retrieve all items from a list with 5000+ items (available since September 2017 update):
Get-SPOListItems -ListTitle testitems -IncludeAllProperties $true -Verbose -Recursive

See Also