Skip to content

Instantly share code, notes, and snippets.

@OlafD
Created April 25, 2019 17:29
Show Gist options
  • Save OlafD/8f54e3e1f71e58e7fbde2e63b2bf6e47 to your computer and use it in GitHub Desktop.
Save OlafD/8f54e3e1f71e58e7fbde2e63b2bf6e47 to your computer and use it in GitHub Desktop.
For a field in a list set the property, to make it hidden in the edit form.
$field = Get-PnPField -List "My List" -Identity "Target Date"
$field.SetShowInEditForm($false)
$field.Update()
Invoke-PnPQuery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment