STSADM

Enumerate Page Web Parts

Enumerate Page Web Parts

As part of the upgrade I needed to be able to fix some web parts that did not migrate correctly (either during the upgrade itself or as a result of moving a web).

Continue Reading
Upgrade2

Upgrade2

This is one of those things that I just shouldn’t have had to create. So I’m going through my upgrade and I come to the point where I’m ready to start scripting the upgrade of the individual team sites (I’d been focusing on the upgraded Areas up until now).

Continue Reading
My Site Settings

My Site Settings

This command replaces the gl-setmysitesnamingformat command as it includes the same functionality along with additional capabilities. I had originally created the gl-setmysitesnamingformat command to address a need to set the naming format of personal sites and I originally didn’t think I’d have to worry about the other settings on the My Sites Settings page but turns out that I did need to set one other field.

Continue Reading
General Update

General Update

I’ve made numerous changes to most (not all) of the commands. Most of the commands now inherit from SPOperation so they now benefit from the better error handling and command argument processing.

Continue Reading
Update V2 to V3 Area Url Mappings

Update V2 to V3 Area Url Mappings

So I’ve been moving my web sites all around, completely changing the hierarchy, creating new site collections, etc., and I discovered that whenever I hit a link that still pointed to an old bucket web (http://intranet/c16/ebusiness instead of http://intranet/topics/divisions/ebusiness) it loaded up a page called spsredirect.

Continue Reading
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