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...
One-liner Run this one-liner on each front-end Web server in the farm, as the settings on each of them may vary. $s = [Microsoft.SharePoint.Administration.SPServer]::Local; $si = $s.ServiceInstances | where { $_.TypeName -eq “Microsoft SharePoint Foundation...
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...
Recent Comments