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

public enum 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).
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).

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft