In this blog, we are going to retrieve all the webparts present in a modern site page. Also, we will see how to add different web parts and delete a web part from a modern site page using PnP PowerShell. First, we need to connect to the site. To perform the connection, add the following lines. $siteURL = Read-Host “Provide […]