Category Archives: PowerShell

Progressive Solution Installation Package using Nuget (part-1)

English It is rare that in real-life project that we only deliver 1 SharePoint Solution using WSP in the installation package of our solution. Even in very simple case, the installation package must contain at least Release Notes, Installation Guide which is not part of WSP. In more complex case, the installation package must also contains… Read More »

SharePoint 2013 : PowerShell for SharePoint Command Builder

English There are more than 300 SharePoint PowerShell cmdlets and its growing and changing from time-to-time.  How administrator or developer will be able to remember all of those cmdlets? The answer : Using HELP (get-help) if you have access to PowerShell console and Microsoft.SharePoint.PowerShell snap-in ; PowerShell for SharePoint Command Builder ( The PowerShell for… Read More »

SharePoint 2010: How to support IE6.0 to access MySite

English: Imagine that you are delivering a project using MySite functionality in SharePoint 2010. But most of your clients are still using IE6 on their computer, so that you have to provide IE6 compatibility support. Without IE6 compatibility, client will receive a warning to upgrade their browser, and ugly MySite page.   So, how can… Read More »

SharePoint 2010: RemoteStsAdm PowerShell Module is available via NuGet

English: Few month ago I have introduced RemoteStsAdm, a PowerShell module that enable you to execute StsAdm.exe remotely. StsAdm.exe is a command line administration tools for SharePoint. Unfortunately to run StsAdm, one must log-in to SharePoint server member – since the tool can not be executed remotely. RemoteStsAdm is to answer this problem, allowing admin… Read More »

PowerShell: Introducing Import-PSModule

You may already know PsGet by Chaliy or PsGet by Anurse for PowerShell module distribution. They have created PowerShell module distribution mechanism with different approach. Chaliy uses PowerShell script approach and customized module directory. Everytime you want to distribute your PowerShell module, you have to fork his github project to update Directory.xml content. Even tough the instruction… Read More »

SharePoint 2010 : RemoteStsAdm PowerShell Module

English 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… Read More »

SharePoint 2010: Remote StsAdm using PowerShell

English In large network, issuing a command to remote server from current terminal is sometimes necessary. Some propose client-server mode; for example Remote StsAdm ( and other propose to use PsExec ( The client-server mode requires installation of 3rd party tools. This kind of installation sometimes (or most of the time) is forbidden by company… Read More »

PowerShell : How to overcome double-hop problem in PowerShell remoting

English: I am interesting to the PowerShell remoting topic from PowerShell Cookbook Chapter 29 here ( In order to solve double-hop problem, it uses schedule task. The sample create schedule task to Enable-PSRemoting in remote machine. But don’t you think we need something more generic to overcome double-hop problem? PowerShell offers Enable-WSManCredSSP or Kerberos so… Read More »