Hi,
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?
Thanks
Hi,
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?
Thanks
This maybe of help. http://www.gsx.com/blog/bid/81096/enhance-your-powershell-experience-by-automatically-loading-scripts
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.