Context.psm1
[CmdletBinding()] param() $scriptName = 'Context' Write-Verbose "[$scriptName] - Importing module" #region - From [functions] - [public] Write-Verbose "[$scriptName] - [functions] - [public] - Processing folder" #region - From [functions] - [public] - [Get-PSModuleTest] Write-Verbose "[$scriptName] - [functions] - [public] - [Get-PSModuleTest] - Importing" function Get-PSModuleTest { <# .SYNOPSIS Performs tests on a module. .EXAMPLE Test-PSModule -Name 'World' "Hello, World!" #> [CmdletBinding()] param ( # Name of the person to greet. [Parameter(Mandatory)] [string] $Name ) Write-Output "Hello, $Name!" } Write-Verbose "[$scriptName] - [functions] - [public] - [Get-PSModuleTest] - Done" #endregion - From [functions] - [public] - [Get-PSModuleTest] Write-Verbose "[$scriptName] - [functions] - [public] - Done" #endregion - From [functions] - [public] $exports = @{ Alias = '*' Cmdlet = '' Function = 'Get-PSModuleTest' } Export-ModuleMember @exports |