July 2018
Beginner
552 pages
13h 18m
English
The anatomy of a PowerShell module is quite simple. There is a folder with the name of your module. Said folder contains at least a psm1 or a psd1 file that also has the name of your module. This folder is placed in one of the module locations in $env:PSModulePath, and that's it; you're done.
Of course, there can be a little more to it, which you will discover when we talk about Just Enough Administration and Desired State Configuration. The following screenshot shows the typical structure of a module:

The psm1 file is called a script module. Script modules are, simply put, script files that are dot-sourced when being imported ...
Read now
Unlock full access