Change the SharePoint site theme using PowerShell
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()
Please enter your Comment
- Comment should be atleast 30 Characters.
- Please put code inside [Code] your code [/Code].
|
|
|
|
|
|
|