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
Can you add to your scripts the $web like below:
$web = Get-PnPWeb Write-Host $web.Url Get-PnPClientPageSidePage -Web $web -Identity home.aspx
Sep 29, 2017
Just another thought, you could try Get-PnPProvisioingTemplate -Out temp.xml
Then you should find the page in there and check if you can find the modern web parts there.
- Oct 03, 2017Could you set it to the default page for testing purposes.
Ah, that reminds me, I had something like this when I tried to export a list view page in the past. - Nigel_Price9911Oct 03, 2017Iron Contributor
Hi Pieter
I thought a provisioning template only had the home page in it ?
Regards
Nigel