I have a .ps1 file in which I want to define custom functions.
Imagine the file is called MyFunctions.ps1, and the content is as follows:
Write-Host
Assuming you have a module file called Dummy-Name.psm1 which has a method called Function-Dumb()
Import-Module "Dummy-Name.psm1"; Get-Command -Module "Function-Dumb"; # # Function-Dumb;