I need a group of content types to be created in SharePoint 2013 and SharePoint online using PnP PowerShell commands.

How do I publish these content types using PnP PowerShell?


To Create a Content Type using PnP PowerShell, you need to use the command like given below:

Add-PnPContentType -Name "Project Document" -Description "Use for Contoso projects" -Group "Contoso Content Types" -ParentContentType $ct

Check below article for syntax and list of parameters and their description:


For official documentation and installation of PnP PowerShell check below documentation:

PnP PowerShell overview.


You can refer to the two articles below:

Create And Delete SharePoint Content Type using Pnp powershell

Use PnP PowerShell to add ContentType for your SharePoint site

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.