Thursday, January 8, 2009

Installfeature: Stsadm operation (Office SharePoint Server)
Operation name: Installfeature
Installs a feature.
Note:
Farm-scoped features are also automatically activated during this stage. Other features might still need to be activated.
Syntax
stsadm -o installfeature -filename {relative} -name {feature folder} [-force]
Parameters
Activatefeature: Stsadm operation (Office SharePoint Server)
Operation name: Activatefeature
Activates a feature in the feature collection. You must first determine the scope of the feature. If the scope is Web-based or is a site collection scope, the url parameter is required. However, if the scope is farm-based, the url parameter is not required.
Note:
If you try to use the url parameter on a farm-scoped feature, you will receive the following error message: “The feature ‘’ applies to the entire farm; the URL parameter cannot be used with farm-scoped features."
Syntax
stsadm -o activatefeature -filename{relative path} -name{feature folder} -id{feature ID} [-url]{URL name} [-force]
Parameters
Deactivatefeature: Stsadm operation (Office SharePoint Server)
Operation name: Deactivatefeature
Deactivates a feature in the feature collection.
Syntax
stsadm -o deactivatefeature -filename -name{feature folder} -id {feature ID} [-url] {URL name} [-force]
Parameters
Addsolution: Stsadm operation (Office SharePoint Server)
Operation name: Addsolution
Adds a solution file to the solution store.
Syntax
stsadm -o addsolution -filename{solution file name} [-lcid] {language}
Parameters

Addtemplate: Stsadm operation (Office SharePoint Server)
Operation name: Addtemplate
Adds a site template to the template gallery.
Note:
If you want the changes to the template list to take effect immediately, run the iisreset command after you run the addtemplate operation.
Syntax
stsadm -o addtemplate -filename {file name} -title{title}