Forum Discussion
Nigel Price
Sep 29, 2017Iron Contributor
How do I know if a page is in modern UI mode using PnPPowerShell ?
I need to audit a site and one of my tasks is to ensure that all pages are in Modern UI mode, the other thing I need to know is what Client Side Web Parts are deployed to each page. I want to use...
Sep 29, 2017
Have you tried using Get-PnPClientSidePage?
Nigel Price
Sep 29, 2017Iron Contributor
Hi Pieter
What is the diffeence between get-PnPWebPart and Get-PnPClientSidePAge ?
I get "object reference not set to an instant of an object" when I use Get-PnPClientSidePage.
I get nothing when I use Get-PnPWebPart
The page was created in the root site and is has the modern UI.
Regards
Nigel