Monday, June 28, 2010

Complete reference of all STSADM operations (with parameters) in MOSS 2007 SP1

This is an update to my complete reference of all STSADM operations in Microsoft Office SharePoint Server 2007, now including the changes in Service Pack 1. I repeated what I did for MOSS 2007 in MOSS 2007 SP1, using a little scripting to get the list of all commands for STSADM, including the options and parameters for each. Items new in SP1 are underlined. Please note that some defaults might be related to the way my server is configured.

  1. stsadm -o activatefeature {-filename | -name | -id } [-url ] [-force]
  2. stsadm -o activateformtemplate -url [-formid
    ] [-filename ]
  3. stsadm -o addalternatedomain -url -incomingurl -urlzone -resourcename
  4. stsadm -o addcontentdb -url -databasename [-databaseserver ] [-databaseuser ] [-databasepassword ] [-sitewarning ] [-sitemax ]
  5. stsadm -o adddataconnectionfile -filename [-webaccessible ] [-overwrite ] [-category ]
  6. stsadm -o add-ecsfiletrustedlocation -Ssp -Location -LocationType SharePoint|Unc|Http -IncludeChildren True|False [-SessionTimeout
  7. stsadm -o add-ecssafedataprovider -Ssp -ID -Type Oledb|Odbc|OdbcDsn [-Description ]
  8. stsadm -o add-ecstrusteddataconnectionlibrary -Ssp -Location [-Description ]
  9. stsadm -o add-ecsuserdefinedfunction -Ssp -Assembly -AssemblyLocation GAC|File [-Enable True|False] [-Description ]
  10. stsadm -o addexemptuseragent -name
  11. stsadm -o addpath -url -type
  12. stsadm -o addpermissionpolicy -url -userlogin -permissionlevel [-zone ] [-username ]
  13. stsadm -o addsolution -filename [-lcid ]
  14. stsadm -o addtemplate -filename