SharePoint 2010 : RemoteStsAdm PowerShell Module

By | September 17, 2011


The STSADM.exe is command-line tool for administration of Office SharePoint Server (SharePoint 2007, SharePoint 2010). It is installed on the same location as SharePoint Products and Technologies location: %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\12\bin (for SharePoint 2007) or %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\14\bin (for SharePoint 2010). You must be Farm Administrator to be able to run the tool.

By default, the STSADM.exe must be executed locally since it will access SharePoint Object Model. It is also necessary for the tools to connect to the SQL Database using credential of the user who executes it. Therefore, normally the Administrator must remote-login to the SharePoint server before he/she can run the tools.

Remote execution of STSADM.exe using PowerShell Invoke-Command cmdlet faces double-hop challenges. This occurs when SQL Database for the farms is installed on different machine than the SharePoint server. The credential in theInvoke-Command session can not pass through to the SQL Database without configuring delegation in the WinRM services.This module solve double-hop problem without configuring CredSSP.

Download the module here:

2 thoughts on “SharePoint 2010 : RemoteStsAdm PowerShell Module

  1. Pingback: SharePoint 2010 : RemoteStsAdm PowerShell Module | Ideas For … | Mastering Sharepoint

  2. Pingback: SharePoint 2010: RemoteStsAdm PowerShell Module is available via NuGet | Ideas For Free

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.