Setting Back Connection Host Names for SharePoint 2007 Using STSADM

Posted on 9 CommentsPosted in SharePoint 2007, STSADM Commands

Not too long ago Microsoft introduced a security fix which addresses a possible attack vector in which malicious software tries to impersonate a local request, thereby bypassing certain constraints.  The problem with this fix is that it introduces some issues for SharePoint servers, effectively resulting in 401.1 Access Denied errors.  Spence Harbar does a great write-up of the fix and the options available to get your SharePoint environment working again so I won’t re-hash all […]

Custom SharePoint 2007 Site Collection Creation Page

Posted on 19 CommentsPosted in Article, SharePoint 2007

A lot of people that are using SharePoint 2007 (WSS or MOSS) for collaboration have either enabled self service site creation in which they allow their end-users to create a page using the scsignup.aspx page or they have some process in place in which an IT administrator creates site collections for their users.  Usually companies go the later route due to limitations with the self service site creation process; specifically, you cannot have the site […]

Download My Custom Extensions Source From CodePlex

Posted on Posted in SharePoint 2007, STSADM Commands

I’ve been putting this off for a long time but I decided that it was time to push my source code for my custom STSADM commands and PowerShell CmdLets to CodePlex.  You can find the project here: Note that if you want to download the latest tested release you should still do so from my downloads page on this blog but if you want to see the version history or get some checked in […]

Setting List Properties using STSADM

Posted on 2 CommentsPosted in SharePoint 2007, STSADM Commands

Recently I had a reader of my blog send me a modified version of my gl-addlist command in which he added some additional properties to set a couple of the SPList properties (specifically the versioning settings).  In thinking about this I decided that it might be helpful to have a command specifically for setting most of the SPList properties rather than try to incorporate them into a more general command like the gl-addlist command so […]

Recent Custom STSADM Extensions Bug Fixes

Posted on 5 CommentsPosted in SharePoint 2007, STSADM Commands

For those that follow me on twitter ( you probably already know about these fixes but I’ll try to provide more details here.  While I was waiting to start my new job (see my previous post) I decided to take a look at a few of the STSADM commands that I built and fix some things that’s been nagging me for a while.  The one I spent the most time on was the gl-convertsubsitetositecollection command […]

Deploying SharePoint Files Not Handled by the WSP Solution Schema

Posted on 1 CommentPosted in Article, SharePoint 2007

I was working on a project recently where I had to deploy a settings file to the root of my web applications folder (where the web.config file resides).  If you’ve ever had to do something like this before then you know that you cannot do this declaratively using the WSP’s Solution schema.  The Solution schema is really quite limiting as to where you can actually deploy files – as a result your only option is […]

New STSADM Commands and Parameters with SharePoint 2007 SP2

Posted on 4 CommentsPosted in SharePoint 2007

I was working on getting SP2 installed so that I could write this post and then I saw that my buddy Todd Klindt beat me to the punch:  But, as Todd only listed the new commands I figured I’d continue with what I was planning which was to show the commands and the new parameters added to existing commands. To do this I threw together a quick PowerShell script which parses the output of […]

Backup/Restore Now Supported Between Farms (via April CU)

Posted on Posted in SharePoint 2007

I just saw a very exciting blog post from Stefan Goßner regarding the April 2009 Cumulative Update (CU) – with this update you can now use backup and restore to move site collections between farms:  So first off, yes there is an April CU even though SP2 just came out a couple of days ago (think about it – SP2 has been cooked for a while but they’ve been testing, writing SDK docs, etc., […]

Creating Default Site Groups After Creating Site Collections Using STSADM

Posted on 2 CommentsPosted in SharePoint 2007, STSADM Commands

I got an email from Jennifer Davis today asking why, when she ran my gl-createsiteindb command, did the default site groups not show up in the site collection, specifically the “<site name> Members”, “<site name> Owners”, and “<site name> Visitors” groups.  Upon digging further she realized that this behavior was not limited to my command as the out-of-the-box createsite and createsiteinnewdb commands exhibited the same behavior. Basically what’s happening is that if you create the […]

Getting an SPWebApplication object using PowerShell

Posted on 4 CommentsPosted in PowerShell Cmdlets, SharePoint 2007

A SharePoint deployment isn’t much of a deployment if there are no web applications.  A web application in SharePoint contains one or more content databases, each of which can contain one or more site collections, etc., etc.  The SPWebApplication class has tons of methods and properties for directly or indirectly manipulating all things related to web applications – you can do backups, add content databases and site collections, set alert settings, manipulate the web.config file, […]