Tag Archives: stsadm

Sharepoint STSADM Commands

Sharepoint STSADM Commands

The SharePoint development platform is a powerful platform and the Microsoft Office SharePoint Server 2007 features the STSADM tool, which offers command line administration of SharePoint Server 2007 servers and sites. SharePoint developers are aware that STSADM is situated on the path where SharePoint Products and Technologies are installed and this path is %COMMONPROGRAMFILES%microsoft sharedweb server extensions12bin. The SharePoint consultant has to have the administrator rights on the local computer to be able to use STSADM. STSADM offers a method that enables the SharePoint developers to administer the Office SharePoint Server 2007 administration tasks at the command line or even through the usage of batch files or scripts. STSADM commands also offer SharePoint development team the access to operations that are not available through the usage of the Central Administration site such as changing the administration port. SharePoint development team is aware that the command-line tool offers a more streamlined interface than Central Administration and it even enables the SharePoint developers to perform the same tasks.

Using STSADM

STSADM is a command-line tool that offers complete access to the Office SharePoint 2007 operations. STSADM can be used either through the command line or even with scripts or batches. It is important that SharePoint developers run the STSADM on the server itself. SharePoint consultants also need to note that most of the parameters for the command line also contain a short form that can be utilized instead of the complete parameter name.

It is also important to know that STSADM is not an interactive tool and therefore SharePoint developers have to type the operation and parameters simultaneously. The outsource development team are aware that they will not be prompted to add in the missing parameters while the operation is still running. Since STSADM commands are not interactive, hence it offers more flexibility when it comes to batching commands, as these tools do not prompt the developers for more information after the command has been submitted.

STSADM Operations

SharePoint consultants are aware of using different types of STSADM operations and some of the operations that SP developers can utilize in the process include:

Activatefeature:
 
This particular operation helps SP developers to activate a feature in the list of feature collection.

Addalternatedomain:

This particular operation allows outsource SharePoint development team to add it as an internal URL and map this to one of the five URL zones of an external resource or a web application.

Adddataconnectionfile:

This helps SP development team to make the addition of a new DataConnectionFile to the DataConnectionFiles collection.

Addexemptuseragent:

This enables SharePoint developers to add a user agent, which is ideally in the form of a search bot and to even receive the XML file that would also include the data of the form for indexing.
 
Addpermissionpolicy:

This particular operation allows SharePoint consultants to add a user to a particular policy role based on a specified permission level name for the web application.

http://sharepoint.ezinemark.com/sharepoint-stsadm-commands-7d2fe837d494.html