Writing Advanced Functions in PowerShell


A lot of DBAs use Powershell to help automate complex tasks or apply configuration changes to multiple servers. Many are writing their own functions, and some may even have packaged them up into a custom module. What about more advanced features? How many are using verbose output, pipeline parameters, or parameter validation? These are just some of the features of something called "Advanced Functions" in PowerShell. In this session, we will discuss these topics and more as we work through writing an advanced PowerShell function from scratch.

This session will be geared towards DBAs but will be useful for anyone wanting to learn more about PowerShell. Experience writing basic PowerShell functions is not a requirement, but will definitely make it easier to follow along. I highly recommend bringing a laptop with PowerShell 5.1 installed so attendees can follow along.

Mark Wilkinson is a father of 4, and lives in Raleigh, North Carolina (read more about his family life @ Two Plus Four Makes Us. He loves fixing problems and learning new technologies that can help him fix those problems faster and better than he did the time before.

In his spare time, he likes to read, speak, and learn new things. He currently works as a Database Administrator at ChannelAdvisor where he solves fairly interesting problems on fairly large databases.

You can often find him on Twitter where he talks about SQL, beer, and anything else he finds interesting.

Twitter: @m82labs
GitHub: http://github.com/m82labs
Email: [masked]

Here is the link for PowerShell 5.1 for anyone who needs it https://docs.microsoft.com/en-us/powershell/wmf/5.1/install-configure. Remember we meet in the Cafe on the right-hand side of the building on the first floor.