Skip to content

New command: remove the specified list item #272

Description

@waldekmastykarz

Get the specified list item

  • command: spo listitem remove -w|--webUrl <webUrl> -l|--listId [listId] --listTitle [listTitle] -i|--id <id> --recycle --confirm
  • 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
  • recycle: Set to move the list item to the recycle bin
  • confirm: Don't prompt for confirmation before removing the item
  • either listId or listTitle must be specified to retrieve the list, but not both
  • requires connection to a SharePoint site

For more information see the Remove-PnPListItem cmdlet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions