Meeting Notes – April 3rd   Leave a comment

This evening we had our first script club meeting! The format was that members bring scripts, ideas or questions and we work through them as a group. We took a good look at some scripts that have been used for provisioning new user accounts and generating wiki documentation from PowerShell MAML help. We also work through some snippets involving hash tables and advanced functions. We also took at a look at some ways to produce GUIs in PowerShell. This included a quick look at Windows Forms, ShowUI and Primal Forms. Below are some of the snippets from tonight’s meeting.

If you’re interested in joining, feel free to show up on the first Tuesday of the month. If you have any questions about the group or the scripts posted below, please email the group using the Google Group.


function Test-ConnectionPort()

		$script:ping = new-object System.Net.Sockets.TcpClient


			$ping.Connect($server, $port)
			Write-Host "Succeeded"
			Write-Host "Failed"

Show UI Example

Import-Module ShowUI

$Window = window {
   stackpanel {
      label "Hey"
      TextBox "TxtBox"
      Button "MyButton"

Windows Forms UI

Add-Type -Assemblies System.Windows.Forms

$form = New-Object System.Windows.Forms.Form

Meeting Stats

  • 6 members in the room
  • Meeting lasted about 2 hours
  • 2 pizzas eaten

Posted April 3, 2012 by adriscoll86 in Meeting

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: