STSADM

Enumerate Features

Enumerate Features

One of the tasks I needed to do for my upgrade was to convert a sub site to a site collection. This is something I’m still trying to get right as of this writing but figured I’d share a new command I had to create to help with that.

Continue Reading
Site Navigation Settings

Site Navigation Settings

Setting the navigation is another common post upgrade/deployment task that should be easy to script. One of the challenges in using the commands I created was that it’s necessary to know the node ID of the navigational elements.

Continue Reading
Set My Sites Naming Format

Set My Sites Naming Format

Update 9/25/2007: This command has been deprecated in favor of the gl-mysitesettings command. Update 9/18/2007: I’ve modified this command so that it no longer manipulates the database directly. The content below has been updated to reflect the changes.

Continue Reading
Set Available Site Templates

Set Available Site Templates

One of the common tasks that administrators will need to perform across various site collections upon initial deployment is to set which site templates (and page layouts) are available for creating subsites and pages.

Continue Reading
User Profile Default Access Account

User Profile Default Access Account

This ended up being one of those simple commands to create that took way to long to figure out how to create. Fortunately though there is an API available for setting this property (unlike most of the profile import related tasks such as the timer jobs).

Continue Reading
User Permissions for Web Applications

User Permissions for Web Applications

One of the nice things about SharePoint 2007 is that you now have the ability to control what permissions are available for a given web application. As an administrator this is nice because you can now prevent site collection administrators from handing out permissions which violate your security policies.

Continue Reading
Quota Templates

Quota Templates

The following is a list of quota related commands that I have created and are available for download from this site. gl-createquotatemplate Creating a quota template can be done using the central administration tool by going to “Central Administration > Application Management > Quota Templates”.

Continue Reading
Site Collection Title

Site Collection Title

Update 9/17/2007: This command has been made obsolete and removed from the package. Please use gl-setsitegeneralsettings instead. Sorry for any inconvenience this may have caused. This is one of those that I thought I needed because during the upgrade the mysites application got hosed so was expecting to have to set the title manually.

Continue Reading
Set User Profile Import Schedule

Set User Profile Import Schedule

Update 9/18/2007: I’ve modified this command so that it no longer manipulates the database directly. The content below has been updated to reflect the changes. This particular command which I called gl-setuserprofileimportschedule, really drove me nuts.

Continue Reading
Setting the Master Site Directory

Setting the Master Site Directory

One of the things I needed my upgrade script to do was to set the master site directory. This can be done easily enough using the central admin tool (Central Administration > Operations > Site Directory Settings).

Continue Reading