Info
Version: | 1.0.2 |
Author(s): | Riwut Libinuko |
Last Update: | Thursday, October 20, 2016 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://code.msdn.microsoft.com/windowsdesktop/Remote-StsAdm-in-6fec24b8 |
NuGet Url: | https://www.nuget.org/packages/RemoteStsAdm |
Install
Install-Package RemoteStsAdm
dotnet add package RemoteStsAdm
paket add RemoteStsAdm
RemoteStsAdm Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
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 the Invoke-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.