Functions and their types

Learn about functions, their types, and how they relate to Powershell.

We'll cover the following

Introduction

Functions provide a structure to our programs, making it modular and organizing it into blocks of reusable code that can perform a single or related functionality. The concepts of a function come from mathematics, where functions are used in computing one or more results depending upon the values of the parameters passed to it. The use of functions is intended to increase the quality and comprehensibility of our program.

Types of Functions

In this course, we will have already come across some useful built-in functions. There is far more to explore about functions, which can basically be classified in the following two categories:

Get hands-on with 1200+ tech skills courses.