Skip to Main Content
Essential SharePoint
book

Essential SharePoint

by Jeff Webb
May 2005
Beginner content levelBeginner
336 pages
10h 14m
English
O'Reilly Media, Inc.
Content preview from Essential SharePoint

StsAdm Commands

The StsAdm.exe utility allows Administrators to maintain and modify SharePoint sites through a command-line interface. The StsAdm.exe command-line has the general form:

   stsadm.exe -o command -url siteAddress 
            commandParameters

This utility is installed in the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\BIN folder.

Command

Use to

Parameters

addpath

Add a defined path (inclusion or exclusion) to a virtual server.

-url

-type

addtemplate

Add a site template to the template gallery.

-filename

-title

-description

adduser

Add a user account to the specified site and assign it to the specified site group.

-url

-userlogin

-useremail

-role

-username

-siteadmin

addwppack

Add a Web Part package to your server Web Part gallery.

-filename or -name

-url

-globalinstall

-force

-lcid

backup

Create a backup of the site at the specified URL.

-url

-filename

-overwrite

binddrservice

Register a data-retrieval service.

-servicename

-setting

createadminvs

Create the administration virtual server for Microsoft Windows SharePoint Services.

-admapcreatenew

-admapidname

-admapidtype

-admapidlogin

-admapidpwd

createsite

Create a site at the specified URL.

-url

-ownerlogin

-owneremail

-ownername

-lcid

-sitetemplate

-title

-description

-quota

createsiteinnewdb

Create a site at the specified URL and create a new content database.

-url

-ownerlogin

-owneremail ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SharePoint User's Guide

SharePoint User's Guide

Infusion Development Corp. (Infusion Development Corporation)
Beginning SharePoint® 2010: Building Business Solutions with SharePoint

Beginning SharePoint® 2010: Building Business Solutions with SharePoint

Amanda Perran, Shane Perran, Jennifer Mason, Laura Rogers

Publisher Resources

ISBN: 0596008805Errata Page