Archive for July, 2012

Hello,

Here is a little script that allows you to change the Style Sheets (CSS) applied to your SharePoint Website.

        

        $mainurl = “http://vlad.test.loc”

$cssurl = $mainurl + “/Style%20Library/BMA/styles.css”

$web = Get-SPWeb $mainurl
$web.AlternateCssUrl = $cssurl
$web.AllProperties[“__InheritsAlternateCssUrl”] = $True
$web.Update()

Enjoy! And say Thanks if it helped 🙂

No ratings yet.

Please rate this