By defining Microsoft PowerShell functions within PowerShell modules, you can organize your scripts, avoid duplicating code, ...
Local functions enable you to define a function within the scope of another method to help in promoting encapsulation and bring local variables into scope The support for local functions is an ...