I'm using a third-party module I found on GitHub and importing it with:
powershell Import-Module .\foo.ps1
This imports successfully and the module works great. But when I open a new PowerShell terminal, it doesn't load the module, I have to run the Import-Module
command everytime. Is it possible to have modules load permanently?
I'm using Windows 10 with PowerShell v3.
Import-Module .\foo.ps1
to your profile to make sure it's always loaded when you start a console. – Alodium