In this lesson, we learned about functions within Powershell - why they’re used, correct syntax, parameters, and the tremendous potential they have to enhance your scripting.
As you continue to develop in Powershell, look for opportunities to add functions to your scripting. It will enhance your scripting integrity and code readability and save you time with code reuse!
Feel free to use the summary.ps1 file to work with more functions.
Take this course for free