As you continue to gain invaluable Powershell scripting experience, there will be certain concepts that will notably advance your expertise. One of those areas is the use of functions!

Functions in Powershell are groups of code collected in a single location that can be referenced anywhere in your code.

In this lesson, we’ll examine the following:

  • how to write functions
  • the components of a function
  • internal versus external functions
  • cases where scripts can benefit from the use of functions.


Click Next to get started!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?