Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Change the SharePoint site theme using PowerShell
WhatsApp
Vijai Anand Ramalingam
13y
13.5
k
0
0
25
Blog
Using PowerShell
$site=Get-SPSite "
http://serverName:1111/sites/sample
"
$web=$site.OpenWeb()
$theme = [Microsoft.SharePoint.Utilities.ThmxTheme]::Open($site,"_catalogs/theme/Azure.thmx")
$theme.ApplyTo($web,$false)
$web.Update()
$web.Dispose()
$site.Dispose()
Programmatically change the site theme in SharePoint
refer
http://www.c-sharpcorner.com/UploadFile/anavijai/6989/
Change the SharePoint site theme using PowerShell
Up Next
Get all Site Collections, Sites & Sub sites form Web Application in SharePoint 2010 using Powershell
Ebook Download
View all
Getting Started with SharePoint Framework Development using TypeScript, PnP JS, and React JS
Read by 4.9k people
Download Now!
Learn
View all
Membership not found