GoogleFonts.psm1
[CmdletBinding()] param() $scriptName = 'GoogleFonts' Write-Verbose "[$scriptName] - Importing module" #region - From [functions] - [public] Write-Verbose "[$scriptName] - [functions] - [public] - Processing folder" #region - From [functions] - [public] - [Get-PSModule] Write-Verbose "[$scriptName] - [functions] - [public] - [Get-PSModule] - Importing" function Get-PSModule { <# .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-PSModule] - Done" #endregion - From [functions] - [public] - [Get-PSModule] Write-Verbose "[$scriptName] - [functions] - [public] - Done" #endregion - From [functions] - [public] $exports = @{ Alias = '*' Cmdlet = '' Function = 'Get-PSModule' } Export-ModuleMember @exports |