Hi @john john ,
There is no such function to get a field on the web/site level. You can get a collection of lists in the site, then set the field in a loop. Please refer to the following commend
$Lists = Get-PnPList
foreach($List in $Lists){
$field = Get-PnPField -Identity <field-name> -List <list-name> $field.SetShowInNewForm($false) $field.Update() $ctx.ExecuteQuery()
}
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.