none
Get Content Type with Sharepoint PNP RRS feed

  • Question

  • Get-PnPListItem does not return the content type.

    How do I get the content type?


    David Jenkins

    Tuesday, November 5, 2019 4:38 PM

Answers

  • I found the answer.  Not sure why the content type doesn't come up like it should.

        #Get Content Type
        $qaDBentryContentType = Get-PnPProperty -ClientObject $qaDBentry -Property "ContentType" -Connection $sourceSite
    
        
        
    


    David Jenkins

    Tuesday, November 5, 2019 5:16 PM

All replies

  • I found the answer.  Not sure why the content type doesn't come up like it should.

        #Get Content Type
        $qaDBentryContentType = Get-PnPProperty -ClientObject $qaDBentry -Property "ContentType" -Connection $sourceSite
    
        
        
    


    David Jenkins

    Tuesday, November 5, 2019 5:16 PM


  • Hi David L. Jenkins, 

    It is very happy that you have resolved your problem.

    Thank you for your sharing and it will help others have the same issue.

    You could mark your reply as answer. Thanks for your understanding.

    Best regards,

    Sara Fan

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Wednesday, November 6, 2019 1:43 AM
    Moderator