OpenAI.psm1
[CmdletBinding()] param() $scriptName = 'OpenAI' Write-Verbose "[$scriptName] - Importing module" #region - From [functions] - [public] Write-Verbose "[$scriptName] - [functions] - [public] - Processing folder" #region - From [functions] - [public] - [Test-PSModuleTemplate] Write-Verbose "[$scriptName] - [functions] - [public] - [Test-PSModuleTemplate] - Importing" function Test-PSModuleTemplate { <# .SYNOPSIS Performs tests on a module. .EXAMPLE Test-PSModuleTemplate -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] - [Test-PSModuleTemplate] - Done" #endregion - From [functions] - [public] - [Test-PSModuleTemplate] Write-Verbose "[$scriptName] - [functions] - [public] - Done" #endregion - From [functions] - [public] $exports = @{ Alias = '*' Cmdlet = '' Function = 'Test-PSModuleTemplate' } Export-ModuleMember @exports |