Content Types

Cmdlet Description
Add-PnPContentType Adds a new content type
Get-PnPContentType Retrieves a content type
Remove-PnPContentType Removes a content type from a web
Remove-PnPContentTypeFromList Removes a content type from a list
Get-PnPContentTypePublishingHubUrl Returns the url to Content Type Publishing Hub
Add-PnPContentTypeToList Adds a new content type to a list
Set-PnPDefaultContentTypeToList Sets the default content type for a list
Remove-PnPFieldFromContentType Removes a site column from a content type
Add-PnPFieldToContentType Adds an existing site column to a content type
  • sharepoint/pnp/content_types.txt
  • Last modified: 2022/08/10 05:56
  • by