CommandTypes Enum


Defines the types of commands that MSH can execute.

This enumeration supports a bitwise combination of its member values.

public enum class CommandTypes
public enum CommandTypes
type CommandTypes = 
Public Enum CommandTypes


Alias 1

Aliases create a name that refers to other command types.

All 511

All possible command types.

Application 32

Any existing application (can be console or GUI).

Cmdlet 8

A cmdlet.

Configuration 256

A Configuration.

ExternalScript 16

An MSH script (*.ps1 file)

Filter 4

Script filters that are defined by a script block.

Function 2

Script functions that are defined by a script block.

Script 64

A script that is built into the runspace configuration.

Workflow 128

A workflow

Applies to