TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Change the SharePoint site theme using PowerShell
Vijai Anand Ramalingam
Apr 26, 2011
13.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
In this blog we will be seeing how to change the SharePoint site theme using powershell
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
Next Recommended Reading
Get all Site Collections, Sites & Sub sites form Web Application in SharePoint 2010 using Powershell