Last active
October 2, 2019 19:33
-
-
Save thinkb4code/d33e1c65628918af0dc465e4f32a7ba1 to your computer and use it in GitHub Desktop.
Update home page layout, SPO using Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cred = Get-Credential -Message "Login to SPO" | |
Connect-PnPOnline https://<tenant>.sharepoint.com/sites/<site_coll> -Credentials $cred | |
$page = Get-PnPClientSidePage -Identity "Home.aspx" | |
$page.LayoutType | |
Set-PnPClientSidePage -Identity "Home.aspx" -LayoutType Home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment