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
Tag: PowerShell
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
Migrate managed metadata between farms
Everybody loves working with managed metadata but one of the challenges you eventually will have to deal with, is the challenge of moving this managed metadata from one farm to another. You might want to put a copy of a production environment into the development environment. Or you have a so-called “test” environment which is… Continue reading Migrate managed metadata between farms
Setting “Replicating Directory Changes” using PowerShell
When you are setting up the User Profile Synchronization in SharePoint 2010, you need an account wich is going to do the synchronization. This account has to be given “Replicate Directory Changes” permissions on the domain. See this article on TechNet on how to do this using the Active Directory Users and Computers snap-in. If… Continue reading Setting “Replicating Directory Changes” using PowerShell
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