Logo 
Search:

Sharepoint 2010 Articles

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

Get all the site themes in SharePoint using PowerShell

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

In this article we will be seeing how to get all the available site themes in SharePoint using PowerShell.

Using powerShell

$site=Get-SPSite "http://serverName:1111/sites/sample"
$web=$site.OpenWeb()
$themes = [Microsoft.SharePoint.Utilities.ThmxTheme]::GetManagedThemes($site)
foreach ($theme in $themes)
{
     write-host -f green $theme.Name
}
                   

Programmatically get all the available SharePoint site themesreferhttp://www.c-sharpcorner.com/UploadFile/anavijai/6984/
Share: 


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

Vijai Anand Ramalingam
Vijai Anand Ramalingam author of Get all the site themes in SharePoint 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!