ModuleType Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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)

public enum ModuleType

Member nameDescription
Binary

Indicates that this is compiled .dll containing cmdlet definitions.

Cim

Indicates that this is cmdlets-over-objects module (a powershell file with a .CDXML extension)

Manifest

Indicates that this module entry was derived from a module manifest and may have child modules.

Script

Indicates that this is a script module (a powershell file with a .PSM1 extension)

Workflow

Indicates that this is workflow module (a powershell file with a .XAML extension)

Return to top
Show: