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
Get the specified list item
spo listitem remove -w|--webUrl <webUrl> -l|--listId [listId] --listTitle [listTitle] -i|--id <id> --recycle --confirmFor more information see the Remove-PnPListItem cmdlet