Ben Curry - CISSP, SharePoint Server MVP

All MindsharpBlogs

http://www.microsoft.com/mspress/books/10623.aspx

My Links

Archives

Image Galleries

Blog Stats

Favorite SharePoint Books

My Favorite Blogs

Free stsadm.exe Whitepaper Available on Mindsharp's Web Site

One of the least understood, yet most powerful tools, included with Windows SharePoint Services v3 and SharePoint Server 2007 is the stsadm.exe command line tool.


Why Use Stsadm.exe?


The stsadm.exe command line tool provides a quick and effective way for performing a majority of SharePoint administrative functions. Many administrators are familiar with using the Windows command line (DOS) environment. The stsadm.exe commands typically include administrative tasks that can be performed using the administrative user interface. However, when SharePoint administrative tasks cannot be accomplished through the administrative user interface, it is necessary to use the stsadm.exe command line tool to complete those tasks

Mindsharp now has a Whitepaper detailing most of the 184 command-line options for stsadm.exe. Visit http://mindsharp.com and go to the premium content area to download. Here's a teaser using the migration set:

Import

Stsadm.exe –o import imports a .cmp file created with stsadm.exe –o export. When using stsadm.exe -o import, you can define the parameters listed below.

-url   Specifies where to import the Content Migration Package (.cmp) file. For example, the .cmp file might be imported to http://webapp.trainsbydave.com/sites/HR.

-filename   Specifies the name of the file from which to import.

-includeusersecurity   Optional parameter that causes groups, timestamps, security information, and user information to be imported.

-haltonwarning   Optional parameter that stops execution when a warning is encountered.

-haltonfatalerror   Stops execution when a fatal error occurs.

-nologfile-Optional parameter that suppresses the creation of a log file.

-updateversions   Parameter that specifies how versions will be merged on import. This parameter has the following three options:

·       Option 1 adds new versions to those that already exist in the .cmp file. This is the default setting.

·       Option 2 overwrites the file and all its versions, keeping only those already in the destination.

·       Option 3 causes files that already exist in the destination to be ignored.

-quiet   Optional parameter that suppresses output to the console except for a notification on completion.

Ben Curry
Mindsharp

posted on Thursday, May 17, 2007 1:30 PM

Feedback

# re: Free stsadm.exe Whitepaper Available on Mindsharp's Web Site 5/24/2007 4:34 AM Clinton

Is there any GUI available for stsadm.exe?

# re: Free stsadm.exe Whitepaper Available on Mindsharp's Web Site 6/20/2007 10:46 AM Brian

nc

# Unattended and Silent Installs 7/16/2007 5:57 PM Joel Oleson's SharePoint Land

I haven't heard much traffic on unattended installs in SharePoint, but hey it is possible, you may want

# Unattended and Silent Installs 7/16/2007 6:58 PM Noticias externas

I haven't heard much traffic on unattended installs in SharePoint, but hey it is possible, you may

# re: Free stsadm.exe Whitepaper Available on Mindsharp's Web Site 8/28/2007 4:56 AM jews

been looking for it. thanks!

# re: Free stsadm.exe Whitepaper Available on Mindsharp's Web Site 8/29/2007 5:16 AM jew

Doesn't work for me :-(

# re: Free stsadm.exe Whitepaper Available on Mindsharp's Web Site 1/15/2008 11:13 PM manisha

good

# MS-SPC2008 - Day 1 Summery 3/3/2008 10:08 PM echef

Boy, I wish Connections had been setup as good as this one is... From the starting blocks, I have been

# MS-SPC2008 - Day 1 Summery 3/3/2008 10:40 PM SHAREPOINTBlogs.com Mirror

Boy, I wish Connections had been setup as good as this one is... From the starting blocks, I have been


Comments on this post are closed.
Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments