Fork me on GitHub

Introduction

psDeploy is a deployment automation library and framework for Powershell. This small-footprint package provides additional cmdlets for common interaction with Windows during deployment processes, as well as a canvas to automate common aspects such as error handling and logging. Adding the psDeploy module to your development / test / production servers allows you to automate the teardown or setup of your environments and applications, thus limiting the need for manual configuration and documentation.

More information about the framework can be found on this page.
The commandlet library is divided into several main categories:

Requirements

The main requirement of psDeploy is Powershell 2.0.
Powershell 2.0 officially requires at least the following versions of Windows:

However, it is possible to install Powershell 2 on Windows XP SP2 by following these steps.

How to use psDeploy

  1. Install Powershell 2.0 if necessary, from http://support.microsoft.com/kb/968929
  2. Go to the psDeploy download page and download the latest version
  3. Extract the ZIP contents to any of the powershell module paths, which you can list with $env:psmodulepath
  4. Add the following line at the top of your script:
Import-Module psDeploy
			

You can then have a look at the examples page to get started!

Additional notes

psDeploy is still in early stages of development. Unfortunately this means some cmdlet or parameter names might change occasionally. However it also means that the library is constantly growing and improving! Please feel free to post ideas of useful cmdlets, or to file bug reports.