Add And Manipulate Modern SharePoint Page Using PnP PowerShell

In this blog, we will look at the steps to add and manipulate Modern SharePoint page using PnP PowerShell. Adding a Modern page to the SharePoint site The Add-PnPClientSidePage command is used to add a modern page to the SharePoint site. Add-PnPClientSidePage -Name “NewPage” Output By default, Add-PnPClientSidePage creates an Article layout type. To create the Home layout type, we have to pass “Home” as a “LayoutType” parameter. Add-PnPClientSidePage -Name “NewPage” -LayoutType Home Output Set the Modern page Property The Set-PnPClientSidePage command is used to update the

Continue Reading

Site Footer