SharePoint 2013

PowerShell Summit: PowerShell Makes SharePoint oh so Magical – PowerPoint

My second session of the PowerShell Summit 2014 covered Automating the installation of SharePoint 2013 SP1 using multiple community based tools. Once we installed SharePoint we started exploring how we can browse the SharePoint API to find information we are looking for. Below is the PowerPoint that was used.

PowerShell Summit: PowerShell Makes SharePoint oh so Magical – PowerPoint Read More »

Get Most Used Document Libraries and Lists in SharePoint

Lately I have been putting a lot of my time into developing useful PowerShell scripts for managing Windows environments. While working on these scripts I’ve developed some really cool 1-liner scripts that are extremely easy to run. In the below 1-liner PowerShell scripts you will get the top 10 most used Document Libraries and Lists by item count. The nice thing about SharePoint and PowerShell is the majority of the scripts written for SharePoint 2010 will work in SharePoint 2013; in this case it does!

Top 10 Document Libraries:

Get-SPSite -Limit All | Get-SPWeb -Limit All | % { $_.Lists} | ? { $_ -is [Microsoft.SharePoint.SPDocumentLibrary] } | Sort-Object { $_.ItemCount } -Descending | Select-Object Title, Description, ItemCount, ParentWebUrl -First 10

 Top 10 Lists:

Get-SPSite -Limit All | Get-SPWeb -Limit All | % { $_.Lists} | ? { $_ -isnot [Microsoft.SharePoint.SPDocumentLibrary] } | Sort-Object { $_.ItemCount } -Descending | Select-Object Title, Description, ItemCount, ParentWebUrl -First 10

Get Most Used Document Libraries and Lists in SharePoint Read More »