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
You can add function to:
c:\Users\David\Documents\WindowsPowerShell\profile.ps1
An the function will be available.