0

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.

but actually, this what I have : enter image description here

Any idea how can get all content types ?

0

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

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.