Latest Posts

View my most recent blog posts

A Better Delete Web

A Better Delete Web

I recently had to use the built-in deleteweb command to delete a web site and was irritated to find that the command wouldn’t let me delete the web because it had sub-webs.

Continue Reading
Manage Content Database Settings

Manage Content Database Settings

We’ve recently started making some decisions as to the layout of our primary intranet site (the information architecture of the site that is). One of the things we decided was that we wanted all divisions to be in separate site collections but for each of them to share a single database.

Continue Reading
Add Site Administrator

Add Site Administrator

Have you ever found yourself in a situation where you are the Farm administrator and you need to add a user (perhaps yourself) as a site collection administrator but you don’t want to be the site collection owner because you need a business user for that, you just want to be added as a site collection administrator?

Continue Reading
Set Site General Settings

Set Site General Settings

This command, gl-setsitegeneralsettings, is the replacement command for the gl-setsitecollectiontitle command. It’s basically just that command renamed and reworked to make it much more capable. The original command only allowed you to set the title of a site collection – this was just way to limiting so I changed it so that you could also set the description and the logo and this can now be done to any site, not just the top level site collection.

Continue Reading
Move Web

Move Web

As part of my upgrade I’ve got several hundred web sites that need to be moved around (either from one web application to another or just to a different location with the same web app or site collection).

Continue Reading
Delete List Field

Delete List Field

One of the things I’ve been working on recently was trying to get the site directory into a useable state post upgrade. The main issue I needed to address was that the upgrade resulted in duplicate columns for Division and Region.

Continue Reading
Re-Ghosting Pages

Re-Ghosting Pages

After running a test upgrade I discovered that one page particular was showing up as un-ghosted (or customized) despite my setting the option to reset all pages to the site definition when I ran the upgrade.

Continue Reading
Import/Export/Copy Lists

Import/Export/Copy Lists

One of the challenges I’m currently trying to solve is related to the site directory. After my upgrade the site directory is a bit messed up (the upgrade seemed to have merged columns).

Continue Reading
Enumerate Timer Job Definitions

Enumerate Timer Job Definitions

I created this particular command because I needed to get some additional information about service level timer jobs. If you go to Central Admin -> Operations -> Time Job Definitions (or status) you’ll see all the timer jobs for the farm.

Continue Reading
Site Directory Links Scan

Site Directory Links Scan

I’m starting to work on getting our Site Directory configured and the first thing I noticed after performing my test upgrade was there were tons of links in the site directory to dead sites.

Continue Reading