Forum Discussion
tiny_taka
Nov 29, 2022Copper Contributor
How to get "FileRef" etc.
Connect to the SharePoint site and Get-PnPListItem -List "Shared%20Documents to get a list of "Id", "Title", and "GUID". Get-PnPListItem -List "Shared%20Documents -Fields "FileRef", "Created"...
SvenSieverding
Nov 29, 2022Bronze Contributor
The values are inside the "FieldValues" Property
Get-PnPListItem -List "Documents" -Fields "FileRef", "Created", "Author","_DisplayName"|foreach-object{
Write-Host $_.FieldValues.FileRef
}