Microsoft Office Sharepoint

All my posts are provided "AS IS" with no warranties, and confer no rights.

Modified By Column does not get updated

Have you ever seen the following behavior ? You create a new document library and start uploading content.Then the users start modifying the documents, however, the Modified by  field does not update to reflect the Name of the user that modified the document. Instead, the Name of the user that created ( or otherwise the… Read more

Getting the feature names available on the server

One script that comes in handy when you have the following type of issue ( rare but it happens ). Say you have deployed a webpart through a custom solution. From time to time on your load balanced farm, the page crashes . Investigating , you find out that the solution was not added on… Read more

Format SQL script

It has little to do with Sharepoint per se but I find it very useful to format the ugly scripts: And yes, it can be improved and refined. $s=Read-host "All in one line script" $s=$s.Replace(",",",`n").Replace("SELECT","`nSELECT").Replace("FROM","`nFrom").Replace("INNER","`n`tINNER").Replace("CASE","`n`t`tCASE").Replace("INSERT","`nINSERT").Replace("`n`n","`n") $s|out-file C:\temp\Formatted.sql  … Read more