How to find collapsible sections in home page of all sites using pnp powershell?

H Risbud 251 Reputation points

How we can find collapsible sections in home page of all SharePoint Online Sites using PnP Powershell?

Get-PnPPageComponent -Page Home is not giving any output. PropertiesJson is blank for PageText webpart.

User's image

How to disable this section collapsible using powershell?

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,877 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,167 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 16,796 Reputation points Microsoft Vendor

    Hi @H Risbud,

    No, it is impossible to disable "Make this section collapsible" using PowerShell as per my knowledge. You need to do it manually.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.