O'Reilly logo

Windows PowerShell 4.0 for .NET Developers by Sherif Talaat

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

Understanding Windows PowerShell Modules

Windows PowerShell Modules are the way of organizing and packaging PowerShell scripts and code files into distributable and reusable units. Windows PowerShell comes with a pretty good number of built-in modules that provide cmdlets for almost all Windows Server roles and features. For example, there is a module for Server Manager, Hyper-V, Active Directory, and IIS.

In order to list all the available modules installed on the operating system, we use the Get-Module cmdlet with the -ListAvailable parameters:

PS C:\> Get-Module -ListAvailable | Select Name,Version,ModuleType Name Version ModuleType ---- ------- ---------- AppLocker 2.0.0.0 Manifest AssignedAccess 1.0.0.0 Script BitLocker 1.0.0.0 Manifest Dism ...

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