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 themes refer http://www.c-sharpcorner.com/UploadFile/anavijai/6984/
Get all the site themes in SharePoint using PowerShell
In this blog we will be seeing how to get all the available site themes in SharePoint using PowerShell.


Keith CulpepperPosted May 6, 2013, 6:25 AM EDT
I have a site that I have upgraded from WSS 3.0 to SharePoint 2013 and when I execute the command you have listed above, it returns nothing. I am able, however, to go to a site and choose a theme. Any reason for it returning nothing?