Search notes:

PowerShell cmdLet new-module

new-module creates a dynamic module from a script block.
The exported members (such as its functions and variables) are then immediately available in the current session.

See also

Powershell command noun: module
Object creation in PowerShell

Index