- Start your windows PowerShell on your computer.
- Right click and select Run as administrator option.
- Paste the below script on the PowerShell window and click the enter button.
- Check your SharePoint site Feature will activated successfully.
- $context = Connect-SPOSite https:
-
- # The SharePoint web at the URL.
- $web = $context.Web
-
- $web.Title = "Title"
- $web.Description = "New Description"
-
- $web.Update()
-
- $context.ExecuteQuery()
Run the script with the required administrator privilege. To verify that, Check the output window.Thanks for reading my blog.
Hope you have enjoyed this.