Locating files with a specific size in SharePoint

Locating large files in a large SharePoint environment can be a tiresome job. This week, I was asked to find out how many images were uploaded which are larger than 500Kb. Doing this with PowerShell is fairly easy. <# .SYNOPSIS Returns a list of images for a specific webapplication which are larger than a specified size. .DESCRIPTION Returns a… Continue reading Locating files with a specific size in SharePoint

Finding CEWP’s with script in your SharePoint sites

One of the most annoying things I regularly encounter is undocumented environments. Nothing freaks me out more than this. For instance, last week, I stumbled onto a search results page which didn’t work anymore. Seems that once upon a time, someone added a content editor webpart with some javascript on there. That javascript called a… Continue reading Finding CEWP’s with script in your SharePoint sites

Create a cache profile in SharePoint using PowerShell

I have been looking for a way to create a new cache profile in SharePoint using Powershell. This profile can be used in the Page Output cache. I noticed that cache profiles are stored in a list called “Cache Profiles” and implement the “Page Output Cache” content type. So, creating a new profile shouldn’t be… Continue reading Create a cache profile in SharePoint using PowerShell

Create Content Organizer Rules using PowerShell

I just wanted to share a way to create Content Organizer rules in SharePoint 2010 using PowerShell. I was looking for a way to implement those rules using a script. The first thing I did was create a rule using the UI and then fire up SharePoint Manager to have a look at it and… Continue reading Create Content Organizer Rules using PowerShell