Jan 08 2019
I am trying to remove a web part from the home page of a newly created site using powershell.
The cmd let accepts InstanceId . So in order to do that, we have to ,find out the instance id by running
Get-PnPClientSideComponent -Page Home
However, it displays blank. So, i go to the page manually and click on edit and then run the command, we get the list of client web parts.
How do i achieve this without having to manually edit the page.