- In PowerShell, a function exists in a scope in which it was created.
- If a function is in a script, it is only available to the statements within that script.
- When a function is specified in the global scope, we can use it in other functions, scripts, and the command line.

Leave a Reply