STSADM

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
More Site Navigation Settings Commands

More Site Navigation Settings Commands

Last month I created a couple pretty basic commands to help me with setting the navigational elements of my site: gl-enumnavigation and gl-addnavigationnode. You can find information about those commands here: Site Navigation Settings.

Continue Reading
Convert a Sub-site to a Site Collection

Convert a Sub-site to a Site Collection

I finally figured it out! This was supposed to be one of those very simple tasks that I should have been able to do without any custom code. Turning a sub-site (or web) into a site collection (or top level site) turned out to be the most difficult task I’ve yet to face with SharePoint 2007.

Continue Reading
Fix Publishing Pages Page Layout URL

Fix Publishing Pages Page Layout URL

This command was created to fix an issue with our upgraded sites as well as issues I discovered with sites that had been imported to new farms. What happened was that after the upgrade (or an import) the Page Layout URL (page.

Continue Reading
Enumerate Available Page Layouts

Enumerate Available Page Layouts

I created this only because I needed to debug some issues I’ve been having with Page Layouts – try to convert a sub-site to a site collection and you’ll see what I mean :).

Continue Reading
Copy Content Types

Copy Content Types

This turned out to be a lot more challenging than I was expecting it to be. Duplicating a content type required that I learn a lot about how to programmatically create things like site columns and workflows associations and policies.

Continue Reading