Category Archives: PowerShell

PowerShell posts

OfficeWebApp “Ribbon.Read” has not been made available for this page or does not exist

If you receive following error: “The Ribbon Tab with id: “Ribbon.Read” has not been made available for this page or does not exist.” while trying to create a new office document by clicking new document and selecting one of the office documents: Then you should try to rebind your SharePoint WOPI bindings to your OfficeWebApp […]

PowerShell Error: Microsoft SharePoint is not supported with version 4.0.30319.1008 of the Microsoft .Net Runtime

For some reason I got following error as I tried to run a PowerShell command: “Microsoft SharePoint is not supported with version 4.0.30319.1008 of the Microsoft .Net Runtime.” Luckily this one was already documented by Microsoft in following KB article: http://support.microsoft.com/kb/2796733 To work around this issue, change the Target field value for SharePoint 2010 Management […]

Activate Publishing Feature With PowerShell

Maybe you also struggled about this, too. Trying to activate the SharePoint Publishing feature results in an error and it’s not possible to activate it over the SharePoint UI. In this case the PowerShell script below will do the activation. The script will also update a property of the web, indicating that the feature is […]

Force CheckIn File Or Undo CheckOut With PowerShell

Sometimes it is not possible to check-in a file in a library over the file item menu or discarding the CheckOut of the file doesn’t work. Here is a PowerShell script which checks-in the file or discards the CheckOut. ## ## CheckIn file or undo CheckOut with PowerShell ## # Loading the SharePoint PowerShell Snapin […]