Chapter 11. Planning for Modules

Windows PowerShell 2.0 introduces the concept of modules.A module is a package that can contain Windows PowerShell cmdlets, aliases, functions, variables, and even providers. In short, a Windows PowerShell module can contain the types of items that you might put into your profile, but it can also contain items that previously required a developer to incorporate into a Windows PowerShell 1.0 snap-in.

There are several advantages to using modules instead of snap-ins. The first advantage is that anyone who can write a Windows PowerShell script can create a module.Another ...

Get Windows PowerShell™ 2.0 Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.