Skip to content

Details

Welcome to our June meeting.
This month we're pleased to welcome Chris Gardner along to the group to talk about PowerShell module design. If the number of scripts and functions you're maintaining is growing then this talk will point you into the accepted best way to organise and maintain them, or if you want to publish work to the PowerShell gallery then modules are the way to go:

Building Better Bricks: Module design and development best practice

There are a number of ways to design and develop a PowerShell module but each has its pro's and con's. This talk will look at the main approaches that are used, common pitfalls, and some of the best practices that should be used to make developing the module as low effort as possible, with a look at how this can then be extended to make publishing the module easier.

Bio:

Chris Gardner is a DevOps and ALM consultant with over 4 years' experience working with PowerShell. He has recently been focusing on using DSC to configure Windows for a variety of purposes, particularly when provisioning dev/test environments in Azure.

Me (Stuart):
Introduction to PowerShell testing and Pester

How do you make sure that scripts keep doing things correctly when you add new features? Or even that they really do what you set out to do?

The answer is testing!

Pester is a PowerShell testing framework written in PowerShell. In this session we'll take a look at how to test your scripts, why putting the effort in early pays dividends later on, what you should be testing and how the way you design and write functions can help (or hinder!) easy development.

I'll be around at the venue from 6 if you want to get there a bit earlier. We'll have a break at half time for people to grab snacks/food/drinks from the bar, and there's a good chance that people will hang around afterwards for some more general IT/PS chat.

Hope to see lots of you there. Any questions get in touch.

Related topics

You may also like