Welcome: Guest!

Sharepoint 2010 Articles

 
Home » Articles » Sharepoint 2010 » Development and ProgrammingSubmit ArticleRSS Feeds

Get all the site themes in SharePoint using PowerShell

Language: Sharepoint 2010      Category: Development and Programming       Comments: 0      Views: 737      

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/

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!