Logo 
Search:

Sharepoint 2010 Articles

Submit Article
Home » Articles » Sharepoint 2010 » Development and ProgrammingRSS Feeds

Change the SharePoint site theme using PowerShell

Posted By: Vijai Anand Ramalingam     Category: Sharepoint 2010     Views: 3809

In this article 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()
Share: 


Didn't find what you were looking for? Find more on Change the SharePoint site theme using PowerShell Or get search suggestion and latest updates.

Vijai Anand Ramalingam
Vijai Anand Ramalingam author of Change the SharePoint site theme using PowerShell is from India. Vijai Anand Ramalingam says Hello Everyone,
I am Vijai Anand Ramalingam from India
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!