I want to get all available content type under Site Page :
Get-PnPContentType -List $listName
give me only : Wiki Page, Folder, Web Part Page, Site Page, Repost Page.
Any idea how can get all content types ?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
You can follow this link for getting content type for list https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpcontenttype?view=sharepoint-ps '
and you can try for Get-PnPContentType -List listname