December 2017
Beginner
352 pages
10h 31m
English
Up to this point, you’ve been relying on a little PowerShell magic to make your commands—which are contained within a module—run. It’s worth digging into this magic a bit, because there’s a ton more you can do with it.
When PowerShell goes looking for modules, it first enumerates all the folders listed in the PSModulePath environment variable. Each folder under each of those paths is considered to be a potential module.
Within a module folder, PowerShell looks for the following: