STSADM

Configuring SSO via STSADM

Configuring SSO via STSADM

I can’t actually take credit for this particular command – in fact I’ve never configured SSO so I personally don’t know much about it. I got the code from Stef van Hooijdonk who graciously provided the code he produced.

Continue Reading
New Issue with STSADM MergeContentDB

New Issue with STSADM MergeContentDB

I just saw this post on the SharePoint forums: http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneral/thread/e9cd9836-5a50-42b3-bf2f-02338a3168f3 – it appears that there’s a possibility for data corruption when using the STSADM mergecontentdb command. The post details a few things you can do to reduce the possibility of corruption when using the command but it would appear that the hidden message is to use Backup/Restore until a fix is released.

Continue Reading
Synchronizing Quota Settings via STSADM

Synchronizing Quota Settings via STSADM

When working with clients on their SharePoint deployment I often get questions about the quota templates and how they work. Quotas are kind of odd because of the disconnected nature of the quota template and the quota that is assigned to a site collection.

Continue Reading
Setting the Master Page Using STSADM

Setting the Master Page Using STSADM

I’d thought about building an STSADM command to enable setting the master page of a site for quite a while but had opted not to do it simply out of principle – it’s generally a better idea to do this via a Feature and I didn’t really want to promote a bad practice.

Continue Reading
Don't Use the PrepareToMove STSADM Command

Don't Use the PrepareToMove STSADM Command

Todd Carter just published an interesting post about when to use, and more appropriately, not use the preparetomove command: http://blogs.msdn.com/toddca/archive/2009/01/30/preparetomove-away-from-running-this-command.aspx. Essentially if you have at least the Infrastructure Update (IU) installed then using this command will cause you issues.

Continue Reading
Replacing Navigation URLs Using STSADM

Replacing Navigation URLs Using STSADM

I was working on a project last Fall where a client of mine had a single site collection for their entire document library which was expected to be over 1TB. As a result of the large size of the site collection we decided to break it up into multiple site collections each contained within their own content database (we ended up with 12 in the end).

Continue Reading
Recalculating Usage Statistics via STSADM or PowerShell

Recalculating Usage Statistics via STSADM or PowerShell

I was perusing through the SharePoint forums the other day and I came across an issue that someone was having with the usage statistics information for their My Sites site collections.

Continue Reading
gl-fixpagecontact Deprecated!!!

gl-fixpagecontact Deprecated!!!

Woohoo! – I finally get to deprecate one of my commands – after creating and publishing 135 commands I discovered today that the August Cumulative Update fixes the issue that my gl-fixpagecontact command sought to address.

Continue Reading
Deactivating Features at Different Scopes Using STSADM

Deactivating Features at Different Scopes Using STSADM

I just posted about one of my new commands, gl-activatefeature, which covers activating features at different scopes using STSADM. That article covers all the code necessary to not only implement the activation, but also the deactivation.

Continue Reading
Activating Features at Different Scopes Using STSADM

Activating Features at Different Scopes Using STSADM

How many times have you had a Feature, either out-of-the-box or custom, that you have needed to activate at lots of different scopes or **re-**activate at lots of different scopes? To do this you may have found a way to get the list of site collections or webs and then somehow used that list in conjunction with the STSADM activatefeature command or worse you manually went to every site or web and manually activated or re-activated the Feature – this is extremely tedious and error prone as you may miss a site or web.

Continue Reading