DevOps

TMW01 Creating Advanced Functions in PowerShell

12/07/2016

8:00am - 9:15am

Level: Introductory to Intermediate

Michael Wiley

Premier Field Engineer

Microsoft

Have you ever wanted to write your own cmdlets without having to learn coding in Visual Studio? PowerShell functions can behave just like compiled Cmdlets–all using PowerShell scripts. Add these capabilities into your own functions, including help, advanced parameters, and risk mitigation.

You will learn:

  • How Cmdletbinding and Parameter Attributes enhance your functions to operate and behave like cmdlets
  • How to implement risk mitigation (-WhatIf and -Confirm) and gain access to Powershell common parameters
  • Implement advanced features available for functions like cmdlet binding and dynamic parameters