Прочетете на английски

Споделяне чрез


ModuleType Enum

Definition

Indicates the type of a module.

C++
public enum class ModuleType
Inheritance
ModuleType

Fields

Name Value Description
Script 0

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

Binary 1

Indicates that this is compiled .dll containing cmdlet definitions.

Manifest 2

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

Cim 3

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

Workflow 4

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

Applies to

Продукт Версии
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0