O'Reilly logo

Learn PowerShell Toolmaking in a Month of Lunches by Don Jones and Jeffrey Hicks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13.1. Introducing modules

Introduced in PowerShell v2, modules are the shell’s preferred means of extension (over the original PSSnapin extension technology). Modules can, in many cases, be file copied rather than requiring packagers or installers, which makes modules easy to distribute. Best of all—from our perspective—modules can be written in script, meaning you don’t need to be a C# developer to create one.

When it comes to modules, much of PowerShell’s capability relies on relatively low-tech techniques. Modules must follow a specific naming and location convention in order for PowerShell to “see” them. This can really throw people for a loop in the beginning—it’s tough to comprehend that PowerShell can get sensitive over things like folder ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required