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:
You can refer to the two articles below: