Quantcast
Viewing all articles
Browse latest Browse all 21070

Repair-SPSite not doing anything?

When running the health checks for my upgrade from 2010 to 2013, it gives a list of customized files, most of these are template.doc in libraries, which we don't remember customizing, but I figured I'd reset them to the site definition anyway.

According to http://technet.microsoft.com/en-us/library/jj219720.aspx Repair-SPSite should automatically loop through and reset them to the site definition. But when I run it it does not seem to do anything at all.

Is there something I'm missing?

PS C:\installfiles\installfarm> Repair-SPSite <siteurl> -RuleId "cd839b0d-9707-4950-8fac-f306cb920f6c" -verbose VERBOSE: Leaving BeginProcessing Method of Repair-SPSite. VERBOSE: Performing operation "Repair-SPSite" on Target "Site <siteurl>, RuleId cd839b0d-9707-4950-8fac-f306cb920f6c". Site : SPSite Url=<siteurl>

Results : { SPSiteHealthResult Status=FailedWarning RuleName="Customized Files" RuleId=cd839b0d-9707-4950-8fac-f306cb920f6c} PassedCount : 0 FailedWarningCount : 1 FailedErrorCount : 0 VERBOSE: Leaving ProcessRecord Method of Repair-SPSite. VERBOSE: Leaving EndProcessing Method of Repair-SPSite.


I suppose i could just loop through all the SPWebs and use SPWeb.RevertAllDocumentContentStreams if this doesn't work.


Viewing all articles
Browse latest Browse all 21070

Trending Articles