Created
September 11, 2016 10:18
-
-
Save aflyen/5ee34b3894fbd14c632693a44d9b7575 to your computer and use it in GitHub Desktop.
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
# Connect to SharePoint Online site collection and get context | |
Connect-SPOnline -Url "https://TENANTID.sharepoint.com/sites/news | |
$Context = Get-SPOContext | |
$Web = $Context.Site.RootWeb | |
$Context.Load($Web) | |
Execute-SPOQuery | |
# Enable likes ratings | |
Enable-CustomLikesRatingsOnLibrary -Web $Web -ListRelativeUrl "Pages" | |
# Close connection | |
Disconnect-SPOnline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment