Usage:
stsadm.exe -o <operation> [<parameters>]
stsadm.exe -help [<operation>]
Operations:
activatefeature
activateformtemplate
addalternatedomain
addcontentdb
adddataconnectionfile
add-ecsfiletrustedlocation
add-ecssafedataprovider
add-ecstrusteddataconnectionlibrary
add-ecsuserdefinedfunction
addexemptuseragent
addpath
addpermissionpolicy
addsolution
addtemplate
adduser
addwppack
addzoneurl
allowuserformwebserviceproxy
allowwebserviceproxy
authentication
backup
backuphistory
binddrservice
blockedfilelist
canceldeployment
changepermissionpolicy
copyappbincontent
createadminvs
creategroup
createsite
createsiteinnewdb
createweb
databaserepair
deactivatefeature
deactivateformtemplate
deleteadminvs
deletealternatedomain
deleteconfigdb
deletecontentdb
deletegroup
deletepath
deletepermissionpolicy
deletesite
deletesolution
deletetemplate
deleteuser
deleteweb
deletewppack
deletezoneurl
deploysolution
deploywppack
disablessc
displaysolution
editcontentdeploymentpath
email
enablessc
enumallwebs
enumalternatedomains
enumcontentdbs
enumdataconnectionfiledependants
enumdataconnectionfiles
enumdeployments
enumexemptuseragents
enumformtemplates
enumgroups
enumroles
enumservices
enumsites
enumsolutions
enumsubwebs
enumtemplates
enumusers
enumwppacks
enumzoneurls
execadmsvcjobs
export
exportipfsadminobjects
extendvs
extendvsinwebfarm
forcedeletelist
formtemplatequiescestatus
getadminport
getdataconnectionfileproperty
getformsserviceproperty
getformtemplateproperty
getproperty
getsitedirectoryscanschedule
getsitelock
getsiteuseraccountdirectorypath
geturlzone
import
installfeature
listlogginglevels
listregisteredsecuritytrimmers
localupgradestatus
managepermissionpolicylevel
mergecontentdbs
mergejsstrings
migrategroup
migrateuser
monitordb
osearch
osearchdiacriticsensitive
patchpostaction
profilechangelog
profiledeletehandler
provisionservice
quiescefarm
quiescefarmstatus
quiesceformtemplate
reconvertallformtemplates
refreshdms
refreshsitedms
refreshsitemap
registersecuritytrimmer
registerwsswriter
removedataconnectionfile
removedrservice
remove-ecsfiletrustedlocation
remove-ecssafedataprovider
remove-ecstrusteddataconnectionlibrary
remove-ecsuserdefinedfunction
removeexemptuseragent
removeformtemplate
removesolutiondeploymentlock
renameserver
renamesite
renameweb
restore
retractsolution
retractwppack
runcontentdeploymentjob
scanforfeatures
setadminport
setapppassword
setbulkworkflowtaskprocessingschedule
setconfigdb
setcontentdeploymentjobschedule
setdataconnectionfileproperty
set-ecsexternaldata
set-ecsloadbalancing
set-ecsmemoryutilization
set-ecssecurity
set-ecssessionmanagement
set-ecsworkbookcache
setformsserviceproperty
setformtemplateproperty
setholdschedule
setlogginglevel
setpolicyschedule
setproperty
setrecordsrepositoryschedule
setsearchandprocessschedule
setsitedirectoryscanschedule
setsitelock
setsiteuseraccountdirectorypath
setworkflowconfig
siteowner
spsearch
spsearchdiacriticsensitive
sync
syncsolution
unextendvs
uninstallfeature
unquiescefarm
unquiesceformtemplate
unregistersecuritytrimmer
unregisterwsswriter
updateaccountpassword
updatealerttemplates
updatefarmcredentials
updatesqlpassword
upgrade
upgradeformtemplate
upgradesolution
upgradetargetwebapplication
uploadformtemplate
userrole
variationsfixuptool
verifyformtemplate
Examples:
stsadm.exe -o addpath -url http://server/sites -type wildcardinclusion
stsadm.exe -o adduser
-url http://server/site
-userlogin DOMAIN\name
-useremail someone@example.com
-role reader
-username "Your Name"
-siteadmin
stsadm.exe -o backup -url http://server/site -filename backup.dat -overwrite
stsadm.exe -o backup -directory c:\backup -backupmethod full
stsadm.exe -o createsite -url http://server/site
-ownerlogin DOMAIN\name
-owneremail someone@example.com
stsadm.exe -o createweb -url http://server/site/web
stsadm.exe -o deletesite -url http://server/site
stsadm.exe -o deleteweb -url http://server/site/web
stsadm.exe -o enumsites -url http://server
stsadm.exe -o enumsubwebs -url http://server/site/web
stsadm.exe -o enumusers -url http://server/site/web
stsadm.exe -o extendvs -url http://server:80
-ownerlogin DOMAIN\name
-owneremail someone@example.com
stsadm.exe -o renameweb -url http://server/site/web1 -newname web2
stsadm.exe -o restore -url http://server/site -filename backup.dat
stsadm.exe -o restore -directory c:\backup -restoremethod overwrite
stsadm.exe -o setconfigdb -databaseserver server
stsadm.exe -o unextendvs -url http://server
For information about other operations and parameters,
use "stsadm.exe -help" or "stsadm.exe -help <operation>"
stsadm.exe -o <operation> [<parameters>]
stsadm.exe -help [<operation>]
Operations:
activatefeature
activateformtemplate
addalternatedomain
addcontentdb
adddataconnectionfile
add-ecsfiletrustedlocation
add-ecssafedataprovider
add-ecstrusteddataconnectionlibrary
add-ecsuserdefinedfunction
addexemptuseragent
addpath
addpermissionpolicy
addsolution
addtemplate
adduser
addwppack
addzoneurl
allowuserformwebserviceproxy
allowwebserviceproxy
authentication
backup
backuphistory
binddrservice
blockedfilelist
canceldeployment
changepermissionpolicy
copyappbincontent
createadminvs
creategroup
createsite
createsiteinnewdb
createweb
databaserepair
deactivatefeature
deactivateformtemplate
deleteadminvs
deletealternatedomain
deleteconfigdb
deletecontentdb
deletegroup
deletepath
deletepermissionpolicy
deletesite
deletesolution
deletetemplate
deleteuser
deleteweb
deletewppack
deletezoneurl
deploysolution
deploywppack
disablessc
displaysolution
editcontentdeploymentpath
enablessc
enumallwebs
enumalternatedomains
enumcontentdbs
enumdataconnectionfiledependants
enumdataconnectionfiles
enumdeployments
enumexemptuseragents
enumformtemplates
enumgroups
enumroles
enumservices
enumsites
enumsolutions
enumsubwebs
enumtemplates
enumusers
enumwppacks
enumzoneurls
execadmsvcjobs
export
exportipfsadminobjects
extendvs
extendvsinwebfarm
forcedeletelist
formtemplatequiescestatus
getadminport
getdataconnectionfileproperty
getformsserviceproperty
getformtemplateproperty
getproperty
getsitedirectoryscanschedule
getsitelock
getsiteuseraccountdirectorypath
geturlzone
import
installfeature
listlogginglevels
listregisteredsecuritytrimmers
localupgradestatus
managepermissionpolicylevel
mergecontentdbs
mergejsstrings
migrategroup
migrateuser
monitordb
osearch
osearchdiacriticsensitive
patchpostaction
profilechangelog
profiledeletehandler
provisionservice
quiescefarm
quiescefarmstatus
quiesceformtemplate
reconvertallformtemplates
refreshdms
refreshsitedms
refreshsitemap
registersecuritytrimmer
registerwsswriter
removedataconnectionfile
removedrservice
remove-ecsfiletrustedlocation
remove-ecssafedataprovider
remove-ecstrusteddataconnectionlibrary
remove-ecsuserdefinedfunction
removeexemptuseragent
removeformtemplate
removesolutiondeploymentlock
renameserver
renamesite
renameweb
restore
retractsolution
retractwppack
runcontentdeploymentjob
scanforfeatures
setadminport
setapppassword
setbulkworkflowtaskprocessingschedule
setconfigdb
setcontentdeploymentjobschedule
setdataconnectionfileproperty
set-ecsexternaldata
set-ecsloadbalancing
set-ecsmemoryutilization
set-ecssecurity
set-ecssessionmanagement
set-ecsworkbookcache
setformsserviceproperty
setformtemplateproperty
setholdschedule
setlogginglevel
setpolicyschedule
setproperty
setrecordsrepositoryschedule
setsearchandprocessschedule
setsitedirectoryscanschedule
setsitelock
setsiteuseraccountdirectorypath
setworkflowconfig
siteowner
spsearch
spsearchdiacriticsensitive
sync
syncsolution
unextendvs
uninstallfeature
unquiescefarm
unquiesceformtemplate
unregistersecuritytrimmer
unregisterwsswriter
updateaccountpassword
updatealerttemplates
updatefarmcredentials
updatesqlpassword
upgrade
upgradeformtemplate
upgradesolution
upgradetargetwebapplication
uploadformtemplate
userrole
variationsfixuptool
verifyformtemplate
Examples:
stsadm.exe -o addpath -url http://server/sites -type wildcardinclusion
stsadm.exe -o adduser
-url http://server/site
-userlogin DOMAIN\name
-useremail someone@example.com
-role reader
-username "Your Name"
-siteadmin
stsadm.exe -o backup -url http://server/site -filename backup.dat -overwrite
stsadm.exe -o backup -directory c:\backup -backupmethod full
stsadm.exe -o createsite -url http://server/site
-ownerlogin DOMAIN\name
-owneremail someone@example.com
stsadm.exe -o createweb -url http://server/site/web
stsadm.exe -o deletesite -url http://server/site
stsadm.exe -o deleteweb -url http://server/site/web
stsadm.exe -o enumsites -url http://server
stsadm.exe -o enumsubwebs -url http://server/site/web
stsadm.exe -o enumusers -url http://server/site/web
stsadm.exe -o extendvs -url http://server:80
-ownerlogin DOMAIN\name
-owneremail someone@example.com
stsadm.exe -o renameweb -url http://server/site/web1 -newname web2
stsadm.exe -o restore -url http://server/site -filename backup.dat
stsadm.exe -o restore -directory c:\backup -restoremethod overwrite
stsadm.exe -o setconfigdb -databaseserver server
stsadm.exe -o unextendvs -url http://server
For information about other operations and parameters,
use "stsadm.exe -help" or "stsadm.exe -help <operation>"
No comments:
Post a Comment