Get the full names of all fields in a SharePoint list


PowerShell script that pulls all the field info of a SharePoint Online list. It's good for when you're scripting and don't know the names of all the fields.

Get-PnPListItem -Id 55 -List "M365 License Audit" -Fields $global:FieldsList | Select -ExpandProperty FieldValues | Format-List *

Share on Google Plus

About Tom DeMeulenaere

Highly accomplished information technology professional with extensive knowledge in System Center Configuration Manager, Windows Server, SharePoint, and Office 365.
    Blogger Comment


Post a Comment

Note: Only a member of this blog may post a comment.