When using Get-PnPField
, is there a way to only pull fields that are available for editing the settings GUI?
Get-PnPField
pulls all the fields including some system-related.
You are right by default Get-PnPField
returns all fields from a list or site.
You can filter the results you are getting from this comment like below:
Exclude Hidden Fields:
Get-PnPField | ? { $_.Hidden -eq $false}
Exclude Read Only Fields:
Get-PnPField | ? { $_.ReadOnlyField -eq $false}
Exclude Hidden AND Read Only Fields:
Get-PnPField | ? { $_.Hidden -eq $false -AND $_.ReadOnlyField -eq $false}
References:
Get-PnPField | ? { $_.Hidden -eq $false}