Imports all modules from the given directory.
Not all modules written by me are pushed directly to the powershellgallery.com. At first, usually, I am storing them locally and use for some time. Some of them won’t be published as they are very specific to my needs and won’t be valuable for others.
To import them in the convenient way I am using an Import-ModulesFromDirectory module.
It searches through the directory to find psm1 files and performs Import-Module on them.
Cmdlet has two switches: Recuse and Path. If Path is not provided it uses the current directory.