How to avoid running hyperV.ps1 every time I open PSH

Nov 6, 2009 at 4:20 PM

I have written a script that leverages windows.forms namespace to make a GUI that sets up lab environments.  Every time I open it, I first have to open powershell and execute the hyperV script.  Is there a way to have the module already loaded for any time I open Powershell?

Nov 12, 2009 at 3:22 PM

You can add it to your powershell profile.