A hub for executing SharePoint 2010 Powershell commands. Let the WPF MVVM application remember previous commands, and auto-populate new command arguments.

Overview

The first purpose of this application was to record the commands used to install/deploy/retract/uninstall wsp solutions via Add-SPSolution/Install-SPSolution/Uninstall-SPSolution/Remove-SPSolution. It was annoying opening the SharePoint Powershell command window and copy/pasting the same commands every second day. This application records commands in a history, so with a simple click, you can re-run previous commands with the same or altered arguements. The length of the history is up to the user, trimmed via the delete functionality.

Installation

Download release
Unzip on SharePoint 2010 server

Configuration

Edit Com.CodePlex.SPPower.exe.config to change:
  • the history file location
  • the category file location

Using

Run Com.CodePlex.SPPower.exe
  • expand the tree on the left to choose a category (based on MSDN SharePoint 2010 PowerShell reference)
  • choose a PowerShell command
  • the parameters panel is populated from command metadata
  • input non-null parameters
  • click Execute
  • command output displayed in history panel

sppower.jpg

Improvements

  • make delete from history work
  • handle more parameter types (switches, actions, credentials, arrays)
  • securely store parameters in history file
  • better PowerShell host for more responsive application when running commands
  • allow running of multiple commands
  • allow storing of variables between commands
  • allow piping
  • better colours and layout

Last edited Mar 31, 2011 at 1:58 AM by djeeg, version 15