Export (0) Print
Expand All
Expand Minimize

ModuleType Enumeration

Defines the type of module, which is based on the type of root module file. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As ModuleType

'Declaration
Public Enumeration ModuleType
public enum ModuleType
public enum ModuleType

Member nameDescription
BinaryA module whose members are defined within an assembly (.dll extension), such as a snap-in or a class library that contains cmdlet classes. This field is introduced in Windows PowerShell 2.0.
CimA cmdlets-over-objects module (.cdxml extension). Introduced in Windows PowerShell 3.0.
ManifestA module that is defined by a module manifest file (.psd1 extension) whose ModulesToProcess key is empty. This field is introduced in Windows PowerShell 2.0.
ScriptA module whose members are defined within a script module file (.psm1 extension). This field is introduced in Windows PowerShell 2.0.
WorkflowA workflow module (.xaml extension). Introduced in Windows PowerShell 3.0.

 

Target Platforms


Show:
© 2015 Microsoft