If you’re interested in some free PowerShell training, I’ll be presenting a session on “PowerShell Non-Monolithic Script Module Design” at SQL Saturday #624 in Chattanooga, Tennessee this Saturday, June 24th.
My presentation begins at 1:15pm eastern time and is an intermediate level session. There’s also a PowerShell precon on Friday being presented by Microsoft MVP Aaron Nelson (the precon is not free) and a PowerShell DSC (Desired State Configuration) session on Saturday being presented by Microsoft MVP Tim Warner.
Here’s a little information about what you can expect from my session:
PowerShell Non-Monolithic Script Module Design
Creating a script module in PowerShell is a very simplistic process, but there are a number of reasons why you might not want to create one huge monolithic PSM1 script module file that contains all of your module’s functions. During this session, Microsoft MVP Mike F Robbins will demonstrate how to separate each of your module’s functions into its own dedicated PS1 file that’s dot-sourced from your script module’s PSM1 file along with discussing this design methodology and the challenges that it creates. Many times resolving one problem seems to create more problems such as cmdlets from other modules showing up as being exported by your module. The solution to these problems and more will be provided during this session. Mike will also demonstrate using a Pester test to validate that all of the functions are indeed exported along with using a function to help automate the module manifest update process when additional functions are added to your module.
My session will be located in room 203 of the UT Chattanooga EMC building. The address is 784 Vine Street, Chattanooga, Tennessee 37403 (USA). Be sure to check the event schedule for any last minute changes.
The PowerShell code used during my demonstrations and the slide deck from my session will be uploaded to my presentations repository on GitHub.
I hope to see you there!