Skip to content

New command: get list items from the specified list #268

@waldekmastykarz

Description

@waldekmastykarz

Get list items from the specified list

  • command: spo listitem list -w|--webUrl <webUrl> -i|--id [id] -t|--title [title] -s|--pageSize [pageSize] -q|--query [query] -f|--field [fields]
  • webUrl: The URL of the site where the list from which to retrieve items is located
  • id: The ID of the list from which to retrieve items
  • title: The title of the list from which to retrieve items
  • pageSize: The number of items to retrieve per page request
  • query: The CAML query to use to retrieve items. Will ignore pageSize if specified
  • fields: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified
  • either id or title must be specified to retrieve the list, but not both
  • if fields are not specified and the output is set to text (default), show only the value of Title and Id fields
  • requires connection to a SharePoint site

For more information see the Get-PnPListItem cmdlet

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions