O'Reilly logo
  • Michael Spinks thinks this is interesting:

There are proper ways to pass data between functions, and we’ll be showing you how to do those.

From

Cover of Learn PowerShell Toolmaking in a Month of Lunches

Note

Don't use Global variables for passing data between functions. There are better ways.