AZPOSH | Arizona PowerShell User Group

November AZPOSH User Group Meeting

The next AZPOSH User Group meeting will take place on Wednesday, November 3rd, 2010 from 6:00pm to 8:00pm at Interface Technical Training in downtown Phoenix. This month we’re going to learn how to build graphical interfaces for PowerShell scripts using PrimalForms 2009. Check out the agenda for the meeting below:


We’ll start off with the basics and look at how to start a new project, how to setup a form and how to run your script while you are developing your application.

  • Creating a New Project
  • Working with Form Properties
  • Using the Toolbox and Adding Controls to a Form
  • Changing Control Sizes and Positions
  • Controlling Tab Order of Controls
  • Working with Snap Lines
  • Running the Project

Windows Forms Events

We’ll take a look at how to use events to respond to things, such as a button click, that will allow your PowerShell code to interact with the end-users running the application.

  • Adding Event Handling Code
  • Adding Menus to Forms

Working with Common Controls

We’ll go over some of the common Windows Forms controls and show you how to design a form that can gather input and display data to the end-user working with your application.

  • Label Control
  • Textbox Control
  • Button Control
  • Checkbox and RadioButton Controls
  • ComboBox and ListBox Controls
  • LinkLabel Control
  • DataGridView Control

Handling Errors

Errors are bound to happen in any script or application. We’ll take a look at how to handle errors and display error messages to users.

  • Try/Catch/Finally Blocks
  • Using the MessageBox Class
  • Dealing with Exceptions and Displaying Custom Error Messages

Building a Real World Graphical Application with PowerShell

At the end of the meeting we’ll use the concepts outlined above to build a real world application that solves a common problem and/or automates a routine task using a GUI front-end to your PowerShell script.

Come Join Us!

As always, we’ll have free sodas and pizza available and we encourage PowerShell users of any skill level to attend. If you plan on attending, please drop us a line and RSVP for the meeting if you can. We hope to see you there!

Tags: · · ·