Blog

Powershell

How to: Add the Filter Web Part to the default view of all lists

Recently a customer asked us how to add the Filter Web Part to the default view for all lists. This can be done by using a simple SharePoint Powershell Script, which you can find below. #open the web $web = Get-SPWeb http://yoursite   #load the required assemblies $fwpAssembly = [System.Reflection.Assembly]::LoadWithPartialName("sapiens.at.SharePoint.FilterWebPart") $frameworkAssembly = [System.Reflection.Assembly]::LoadWithPartialName("sapiens.at.SharePoint")   ForEach($l […]

Read more...

Error when re-activating Employee Training Management and Event Management

A feature must be re-activated when it is upgraded to a newer version. If you are upgrading several SharePoint sites, you can save a lot of time by using a SharePoint power shell script to re-activate the feature. We have, however, become aware of an error which you may receive when re-activating Employee Training Management […]

Read more...

How to: Update item or document properties without changing the Modified or Modified By fields using SharePoint Powershell

Today I want to provide a useful SharePoint PowerShell script that allows you to update properties of a list item or a document without changing the Modified or Modified by fields and without firing any event receiver or workflow. In this example I have only changed the title of the first item in my list. […]

Read more...