Tag Archives: PowerShell

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 (http://bit.ly/16masoE). 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 (http://netstsadm.codeplex.com/) and other propose to use PsExec (http://thingsthatshouldbeeasy.blogspot.com/2009/08/run-stsadm-commands-remotely.html). 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 (http://www.pavleck.net/powershell-cookbook/ch29.html). 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 »

PowerShell : Modifying Web AppPool Account

English I think you may already know Set-SPServiceApplicationPool. This command can be used to modify apppool account for service application – but it doesn’t work for Web Application. I am looking for Set-SPWebApplicationPool but I can not find it anywhere. So here is the PowerShell script   param([string] $url, [string] $account) $SPWebApp = Get-SPWebApplication $url… Read More »