Remove the SharePoint site theme using powershell
In this article we will be seeing how to remove the SharePoint site theme using powershell
Using powershell remove the site theme
The site theme will be changed to Default(No theme).
$site=Get-SPSite "http://serverName:1111/sites/sample"
$web=$site.OpenWeb()
[Microsoft.SharePoint.Utilities.ThmxTheme]::RemoveThemeFromWeb($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].
|
|
|
|
|
|
|