PowerShell one-liners to identify large Workflow History lists

One-liners PowerShell script that will identify all Workflow History lists in the farm: $farm = Get-SPFarm; $websvcs = $farm.Services | where -FilterScript {$_.GetType() -eq [Microsoft.SharePoint.Administration.SPWebService]}; foreach ($websvc in $websvcs) { foreach...

PowerShell one-liner to populate a SharePoint 2010 document library

One-liner Just replace the values in $webName, $docLibName, $docFileName and $docCount with the website URL of your existing site, the existing document library you want to populate, the existing document you want to use for all items created, and the number of items...
Bitnami