How to keep SharePoint calculated columns up-to-date

An oldie but a goodie I used today._____________________________________________ The major issue related with SharePoint calculated columns is the fact that they are not dynamically updated. In  other words, they will be updated each time you create or edit list item, but before the next item change they will not be recalculated ever again. In most…

An oldie but a goodie- Stsadm to Windows PowerShell mapping in SharePoint 2013

Stsadm and PowerShell Mapping Stsadm operation Windows PowerShell cmdlet Activatefeature Enable-SPFeature Activateformtemplate Enable-SPInfoPathFormTemplate Addalternatedomain New-SPAlternateUrl Addcontentdb Mount-SPContentDatabase New-SPContentDatabase Adddataconnectionfile Install-SPDataConnectionFile Add-ecsfiletrustedlocation New-SPExcelFileLocation Add-ecssafedataprovider New-SPExcelDataProvider Add-ecstrusteddataconnectionlibrary New-SPExcelDataConnectionLibrary Add-ecsuserdefinedfunction New-SPExcelUserDefinedFunction Addexemptuseragent Add-SPInfoPathUserAgent Addpath New-SPManagedPath Addpermissionpolicy None Addsolution Add-SPSolution Addtemplate Install-SPWebTemplate Adduser New-SPUser Addwppack Install-SPWebPartPack Addzoneurl New-SPAlternateUrl Allowuserformwebserviceproxy Set-SPInfoPathWebServiceProxy Use the AllowForUserForms and Identity parameters. Allowwebserviceproxy Set-SPInfoPathWebServiceProxy Use…

Change the content type of list items using PowerShell

Quick shout out….I found this script by Matthew Yarlett very helpful today….. If you’ve got a content type deployed in multiple lists in site, and you want a way to quickly change all the existing items to the new content type, you can use PowerShell to do the dirty work. Note that there are a few…

List all installed features on the farm via PowerShell

List all installed features on the farm It’s really straight forward using the Get-SPFeature command to return all installed features: 1 Get-SPFeature | Sort -Property DisplayName By feature ID, 1 Get-SPFeature | Sort -Property Id By feature display name alphabetically and grouped by scope, 1 Get-SPFeature | Sort -Property Scope,DisplayName | FT -GroupBy Scope DisplayName,Id…

Enable/Disable versioning on ALL doc libs in web app via PowerShell

This works great. But be careful and use at your own risk. Always have a full backup and test in dev environment.     function Set-DocLibVersioning() {     [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")     $farm = [Microsoft.SharePoint.Administration.SPFarm]::Local     foreach ($spService in $farm.Services) {         if (!($spService -is [Microsoft.SharePoint.Administration.SPWebService])) {             continue;        }         foreach ($webApp in $spService.WebApplications) {…

Stsadm to Windows PowerShell mapping

Stsadm to Windows PowerShell mapping (SharePoint Server 2010)   SharePoint Server 2010 Published: May 12, 2010 This article lists Stsadm operations and their equivalent Windows PowerShell cmdlets. Where there is no one-to-one mapping between the operations and cmdlets, the table lists the specific Windows PowerShell parameters you must use to get the same functionality. Stsadm…