How to import-module in all sessions?

Dec 3, 2010 at 4:53 PM

Hi,

Is there anyone who know how to import the module in all sessions?

I think that something has to be done in relationship to profile.ps1 (in Examples folder), but I do not understand how to make this issue working.

I need to use Hyper-V module by default, without specifying all the times "powershell -noExit -Command "& "Import-Module '%ProgramFiles%\modules\Hyperv' ""  

Thanks in advance