SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to force the theme to refresh using PowerShell?

When I deploy a CSS file with my style, I currently have to change theme, then back again manually.

I would like to know if it is possible to force a refresh using PowerShell.

I don't want to do an IIS reset, I want minimal farm interruption.


share|improve this question
up vote 2 down vote accepted

Are you sure this isnt just a client side cache problem?

Changing the CSS files in a theme will require a CTRL+F5 in your browser if it already has loaded the theme CSS files in its cache.

share|improve this answer
SharePoint caches the themed CSS files too. The theme engine caches them when the theme is changed. – Russell Jul 22 '11 at 12:31
Here is a reference, but I experienced it myself too:… – Russell Jul 22 '11 at 12:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.