Tuesday, March 25, 2008

Microsoft SharePoint 2007 - Stsadm extensions

"The branding tool is out. What next? How about an stsadm tool for themes?"

After a search on google, it seems Gary Lapointe has beat me to it:
http://stsadm.blogspot.com/2008/01/apply-theme.html

He's created a very useful list of stsadm extended commands found here.
(http://stsadm.blogspot.com/2007/08/stsadm-commands_09.html)

The source code can be downloaded here:
http://www.thelapointes.com/blog/stsadm.zip

The installation file can be downloaded here:
http://www.thelapointes.com/blog/Lapointe.SharePoint.STSADM.Commands.wsp

Here's a listing of the additional commands:


  1. createquotatemplate

  2. editquotatemplate

  3. setmastersitedirectory

  4. setallowaccesstoonlinegallery

  5. disableuserpermissionforwebapp

  6. enableuserpermissionforwebapp

  7. setselfservicesitecreation

  8. connecttoportalsite

  9. setsitegeneralsettings

  10. setuserprofiledefaultaccessaccount

  11. setuserprofileimportschedule

  12. gen2003to2007profilepropertymap

  13. migrate2003profilesto2007

  14. setpictureurlnewpath

  15. setsitenamingformat (use mysitesettings instead)

  16. enuminstalledsitetemplates

  17. enumavailablesitetemplates

  18. addavailablesitetemplate

  19. removeavailablesitetemplate

  20. enumnavigation

  21. addnavigationnode

  22. setnavigationnodes

  23. copynavigation

  24. enumfeatures

  25. copycontenttypes

  26. enumavailablepagelayouts

  27. fixpublishingpagespagelayouturl

  28. repairsitecollectionimportedfromsubsite

  29. convertsubsitetositecollection

  30. setsitedirectoryscanviewurls

  31. enumtimerjobdefinitions

  32. exportlist

  33. importlist

  34. copylist

  35. getlistschemaxml

  36. enumunghostedfiles

  37. reghostfile

  38. deletelistfield

  39. moveweb

  40. managecontentdbsettings

  41. addsiteadmin

  42. deleteweb2

  43. mysitesettings

  44. upgrade2

  45. enumpagewebparts

  46. movewebpart

  47. setwebpartstate

  48. retargetcontentquerywebpart

  49. replacefieldvalues

  50. applyupgradeareaurlmappings

  51. publishitems

  52. setlocalsitedirectory

  53. import2

  54. setsearchcenter

  55. replacewebpartcontent

  56. enumeffectivebaseperms

  57. createwebapp

  58. deletewebapp

  59. exportlistitem

  60. importlistitem

  61. copylistitem

  62. deletelistitem

  63. setnavigationsettings

  64. enumprofileprivacypolicies

  65. setprofileprivacypolicy

  66. enumprofileproperties

  67. editprofileproperty

  68. exportlistfield

  69. importlistfield

  70. updatelistfield

  71. deletelist

  72. copylistsecurity

  73. updatelistview

  74. setsspacl

  75. createsearchscope

  76. updatesearchscope

  77. addsearchrule

  78. setauditsettings

  79. setusageanalysis

  80. adduser2

  81. adduserpolicyforwebapp

  82. addlistitem

  83. exportlistitem2

  84. movesite

  85. applytheme

  86. retargetgroupedlistingswebpart

  87. sitewelcomepage

  88. enumwelcomepages

  89. createcontentdb

  90. createsiteindb

  91. exportcontenttypes

  92. exportsitecolumns

  93. importsitecolumns

  94. setanonymousaccess

No comments: