Productivity Tools

Tools written by an IT business manager, a passionate developer.


Imports all modules from the given directory.

Not all modules written by me are pushed directly to the 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. Import modules from Directory

Import-ModulesFromDirectory -Recurse -Verbose  Import-ModulesFromDirectory -Recurse -Verbose -Path D:\Powershell\Common\Modules\

Cmdlet has two switches: Recuse and Path. If Path is not provided it uses the current directory.