Auto load custom function


I have created a custom function that i would like to load each time i start my ISE, do i have to convert to a module to do this or can it load the function without me having to execute it?


This maybe of help.

Sometimes I put them in a file called “$env:userprofile\Documents\WindowsPowerShell\Modules\mymod\mymod.psm1”. Then I set a variable called $psmodulepath to “$env:userprofile\Documents\WindowsPowerShell\Modules\mymod” so I can cd to it easily.