Skip to content

New command: get the specified list item #269

@waldekmastykarz

Description

@waldekmastykarz

Get the specified list item

  • command: spo listitem get -w|--webUrl <webUrl> -l|--listId [listId] --listTitle [listTitle] -i|--id <id> -f|--field [fields]
  • webUrl: The URL of the site where the list from which to retrieve items is located
  • listId: The ID of the list from which to retrieve items
  • listTitle: The title of the list from which to retrieve items
  • id: The ID of the item to retrieve
  • fields: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified
  • either listId or listTitle 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