Skip to main content

You can specify the columns you want to retrieve in the command like given below:

$listItems= (Get-PnPListItem -List $ListName -Fields "Title","Column1", "Column2","Column3","GUID")

Also you can use CAML query in you command, see below given references.

References:

  1. Retrieve SharePoint List Items Using PnP PowerShell.
  2. Get-PnPListItemGet-PnPListItem.

You can specify the columns you want to retrieve in the command like given below:

$listItems= (Get-PnPListItem -List $ListName -Fields "Title","Column1", "Column2","Column3","GUID")

Also you can use CAML query in you command, see below given references.

References:

  1. Retrieve SharePoint List Items Using PnP PowerShell.
  2. Get-PnPListItem.

You can specify the columns you want to retrieve in the command like given below:

$listItems= (Get-PnPListItem -List $ListName -Fields "Title","Column1", "Column2","Column3","GUID")

Also you can use CAML query in you command, see below given references.

References:

  1. Retrieve SharePoint List Items Using PnP PowerShell.
  2. Get-PnPListItem.
Source Link
Ganesh Sanap - MVP
  • 46.4k
  • 22
  • 31
  • 63

You can specify the columns you want to retrieve in the command like given below:

$listItems= (Get-PnPListItem -List $ListName -Fields "Title","Column1", "Column2","Column3","GUID")

Also you can use CAML query in you command, see below given references.

References:

  1. Retrieve SharePoint List Items Using PnP PowerShell.
  2. Get-PnPListItem.