

The primary objective of a module is to allow the modularization of Windows PowerShell code.īy defining a set of related script files, assemblies, and related resources as a module, you can reference, load, persist, and share your code much easier than you would otherwise. The members of a package (which are usually grouped in a single directory) can be implemented in a PowerShell script, a compiled DLL, or both.

PowerShell is a cross-platform task automation solution from Microsoft, consisting of a command-line shell, a scripting language, and a configuration management frameworkĪ PowerShell module contains a set of related Windows PowerShell members such as cmdlets, providers, functions, workflows, variables, and aliases.
